26.07.2013, 11:04
Quote:
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
|
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;
}