Admin Vehicle
#1

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

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(!IsPlayerAdmin(playerid) && vehicleid == [Vehicleid of the jet]) RemovePlayerFromVehicle(playerid);
    return 1;
}
Reply
#3

Thank You.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)