04.03.2012, 14:02
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/cmds", true, 5)) // 3 is the length of /me
{
SendClientMessage(playerid,COLOR_WHITE,"Commands on my server:");
SendClientMessage(playerid,COLOR_WHITE,"/cmd1, /cmd2, /cmd3");
return 1;
}
return 0;
}