How to make auto eject
#2

ban a model
pawn Код:
onplayerstatechange
new model;
model = GetVehicleModel(GetPlayerVehicleID(playerid));
if(model == Bannedmodel && !IsPlayerAdmin(playerid))RemovePlayerFromVehicle(playerid);
there ya go have a play with that change bannedmodel to the admin car
or ban a single car
pawn Код:
onplayerstatechange
new vid;
vid = GetPlayerVehicleID(playerid);
if(vid == Bannedvehicleid && !IsPlayerAdmin(playerid))RemovePlayerFromVehicle(playerid);
Reply


Messages In This Thread
How to make auto eject - by PilotXtreme - 11.11.2010, 05:37
Re: How to make auto eject - by (SF)Noobanatior - 11.11.2010, 05:43
Re: How to make auto eject - by PilotXtreme - 11.11.2010, 06:08
Re: How to make auto eject - by (SF)Noobanatior - 11.11.2010, 06:11
Re: How to make auto eject - by PilotXtreme - 11.11.2010, 06:14
Re: How to make auto eject - by (SF)Noobanatior - 11.11.2010, 06:18
Re: How to make auto eject - by PilotXtreme - 11.11.2010, 06:23
Re: How to make auto eject - by (SF)Noobanatior - 11.11.2010, 06:46
Re: How to make auto eject - by PilotXtreme - 11.11.2010, 06:53
Re: How to make auto eject - by Rafa - 11.11.2010, 09:03

Forum Jump:


Users browsing this thread: 3 Guest(s)