public OnPlayerCommandReceived(playerid, cmdtext[]){ if(jailed[playerid] == 1) { SendClientMessage(playerid,red,"You cannot use commands while in Jail!"); return 0; } return 1;}