13.11.2010, 21:04
Yeah i'll make an example
pawn Код:
// Variable
new jailed[MAX_PLAYERS];
// Command
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
if(jailed[playerid] = 1)
{
SendClientMessage(playerid,COLOR,"[Server]: Your in jail, you can't use commands");
return 0;
}
// other coding here
return 1;
}

