[HELP] Airbreak Jail escape
#7

Quote:
Originally Posted by chubz
Посмотреть сообщение
Hey Guys I Just need some help with some scripting. i want it to kick/ban it doesnt matter which one if the player uses airbreak inside the jail cell and tries to escape. so if a player tries to escape being in jail by using airbreak he will be Kicked/Banned! THANX
Why annoy yourself ?
pawn Код:
public OnPlayerUpdate(playerid)
{
    if(GetPVarInt(playerid, "pJail") == 1) // you need to set the variable when the player get jailed.
    {
        TogglePlayerControllable(playerid,1);
    }
    return 1;
}
now simply he can move freely but can't aim/shoot or drive a car i guess.
Reply


Messages In This Thread
[HELP] Airbreak Jail escape - by chubz - 25.07.2013, 23:15
Re: [HELP] Airbreak Jail escape - by Richie© - 25.07.2013, 23:16
Re: [HELP] Airbreak Jail escape - by chubz - 25.07.2013, 23:33
Re: [HELP] Airbreak Jail escape - by Vanter - 26.07.2013, 00:34
Re: [HELP] Airbreak Jail escape - by chubz - 26.07.2013, 10:32
Re: [HELP] Airbreak Jail escape - by Threshold - 26.07.2013, 10:51
Re: [HELP] Airbreak Jail escape - by hossa - 26.07.2013, 11:04
Re: [HELP] Airbreak Jail escape - by chubz - 26.07.2013, 11:36
Re: [HELP] Airbreak Jail escape - by Konstantinos - 26.07.2013, 11:40

Forum Jump:


Users browsing this thread: 1 Guest(s)