Quote:
Originally Posted by iPLEOMAX
pawn Код:
//On top of your script: new bool:Jailed[MAX_PLAYERS];
//In your /jail command: Jailed[theplayerid] = true;
//In /unjail command & OnPlayerDisconnect: Jailed[theplayerid] = false;
//On top of all your commands: if(Jailed[playerid]) return SendClientMessage(playerid, 0xFF0000FF, "You cannot use commands when you are in jail.");
|
is there another way because i have lots of commands :8