Jail Island. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Jail Island. (
/showthread.php?tid=211705)
Jail Island. -
Kuulp2he - 15.01.2011
Hello imade jail island but i have /v system how to make it so people whos jailed cant fly or driver on boats away from jail island
Re: Jail Island. -
Jochemd - 15.01.2011
Set a variable when he is jailed. Check if the variable it the setted value whn he typed /v
Re: Jail Island. -
Kuulp2he - 15.01.2011
hmm can you make a example im a beginner scripter....
Re: Jail Island. -
hanzen - 15.01.2011
pawn Код:
new bool:IsPlayerJailed[MAX_PLAYERS]; // Global variable
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(IsPlayerJailed[playerid]) RemovePlayerFromVehicle(playerid);
}
IsPlayerJailed[playerid] = 1; // Where the player get's jailed.
IsPlayerJailed[playerid] = 0; // Where the player get's released.
Re: Jail Island. -
Kuulp2he - 15.01.2011
thank you