09.03.2015, 11:10
I wan't to let players using /pm [text], /a [text] cmds while they are in jail(Info[playerid][Jailed]==1). How can i do that?
pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
if(Info[playerid][Jailed]==1)
{
SendClientMessage(playerid,COLOR_RED,"ERROR, You are in jail.");
return 0;
}
}