09.02.2015, 15:39
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Your Command", cmdtext, true, 10) == 0)
{
if(Mute[playerid] == 1)
{
return SendClientMessage(playerid, -1, "{FF0000}You're jailed, you're muted and you are not allowed to use commands.");
}
else if(Mute[playerid] == 0) return 1;
}
return 0;
}