WeSTMan
А вот тут текст!
- Сообщения
- 833
- Реакции
- 521
Что сделано неверно?
PHP:
#pragma tabsize 0
public OnPluginStart()
{
RegConsoleCmd("mat", Mat_Command);
}
public Action:Mat_Command(ic, argc)
{
if ( ic == 0 )
{
PrintToServer("client-side only");
return Plugin_Handled;
}
new a = 1;
new b = 2;
new c = (a + b) + (a * b);
new d = c++;
PrintToChat(ic, "\x04Ваше число: %d");
return Plugin_Handled;
}