09.03.2015, 11:50
Код:
public OnPlayerCommandRecieved(playerid, cmdtext[])
{
if(Info[playerid][Jailed]==1)
{
if(!strcmp(cmdtext,"/pm") || !strcmp(cmdtext,"/a")) return 1;
SendClientMessage(playerid,COLOR_RED,"ERROR, You are in jail.");
return 0;
}
return 1;
}
I dont think so you require anything else than this. sscanf dont work as string matching or maybe y_stringhash. Sscanf is just opposite of format.

