15.01.2011, 20:37
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
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.