Jail Island.
#1

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
Reply
#2

Set a variable when he is jailed. Check if the variable it the setted value whn he typed /v
Reply
#3

hmm can you make a example im a beginner scripter....
Reply
#4

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.
Reply
#5

thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)