19.03.2009, 20:33
hmm, well, err...
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true) == 0)
{
SendClientMessage(playerid,0xFFFFFFAA,"Need help?");
return 1;
}
if (strcmp("/othercommand", cmdtext, true) == 0)
{
SendClientMessage(playerid,0xFFFFFFAA,"Another command!");
return 1;
}
return 0;
}