lil question
#4

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;

//In OnPlayerDisconnect:
Jailed[playerid] = false;

//On top of all your commands:
if(Jailed[playerid]) return SendClientMessage(playerid, 0xFF0000FF, "You cannot use commands when you are in jail.");
Reply


Messages In This Thread
lil question - by tanush - 23.07.2011, 22:05
Re: lil question - by Shadoww5 - 23.07.2011, 22:40
Re: lil question - by tanush - 24.07.2011, 17:34
Re: lil question - by iPLEOMAX - 24.07.2011, 17:38
Re: lil question - by tanush - 24.07.2011, 17:41
Re: lil question - by iPLEOMAX - 24.07.2011, 17:43
Re: lil question - by tanush - 31.07.2011, 20:32
Re: lil question - by Kush - 31.07.2011, 20:37
Re: lil question - by LetsOWN[PL] - 31.07.2011, 20:43

Forum Jump:


Users browsing this thread: 2 Guest(s)