02.06.2011, 18:59
lol you want it to send server message?
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/top", cmdtext, true, 10) == 0)
{
SendClientMessageToAll(COLOR_RED, "Here is /top command");
return 1;
}
}