How to disable commands in jail?
#7

Add under OnPlayerSpawn
pawn Код:
if(Player[playerid][Jailed] == 1)
    {
    //Action whatever you want
    }
Then if you jail someone, set the player to Jailed == 1.
Then add under every minigame/dm command that check what I've writed above.
Don't forget to set Jailed to 0 when the person is unjailed.
Reply


Messages In This Thread
How to disable commands in jail? - by Sensitive - 24.08.2011, 23:06
Re: How to disable commands in jail? - by Admigo - 24.08.2011, 23:17
Re: How to disable commands in jail? - by Sensitive - 24.08.2011, 23:17
Re: How to disable commands in jail? - by Kingunit - 24.08.2011, 23:20
Re: How to disable commands in jail? - by Admigo - 24.08.2011, 23:21
Re: How to disable commands in jail? - by Sensitive - 24.08.2011, 23:24
Re: How to disable commands in jail? - by Kingunit - 24.08.2011, 23:27
Re: How to disable commands in jail? - by Sensitive - 24.08.2011, 23:31
Re: How to disable commands in jail? - by =WoR=G4M3Ov3r - 24.08.2011, 23:33
Re: How to disable commands in jail? - by Admigo - 24.08.2011, 23:36

Forum Jump:


Users browsing this thread: 1 Guest(s)