17.09.2011, 13:33
Ok guys, I want to spawn a jet, but only for admins.Now I dont want players to enter the jet and use it, Can something be done with OnPlayerEnterVehicle? Can someone help me...
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(!IsPlayerAdmin(playerid) && vehicleid == [Vehicleid of the jet]) RemovePlayerFromVehicle(playerid);
return 1;
}