Vip Vehicles
#3

You can create a checking inside the public OnPlayerEnterVehicle, or otherwise OnPlayerStateChange.
Example:
pawn Код:
if(GetVehicleModel(vehicleid) == SomeID)
{
new Float:x,Float:y,Float:z;
SetPlayerPos(playerid,x,y,z);
SendClientMessage(playerid,-1,"You cannot enter this vehicle!");
return 1;
}
That's for OnPlayerEnterVehicle, and you have to add you own checking for if the player is a regular player or not.
Reply


Messages In This Thread
Vip Vehicles - by Kuulp2he - 03.04.2013, 10:52
Re: Vip Vehicles - by Nathan_Taylor - 03.04.2013, 11:25
Re: Vip Vehicles - by zxc1 - 03.04.2013, 11:25
Re: Vip Vehicles - by Kuulp2he - 03.04.2013, 11:31
Re: Vip Vehicles - by Kuulp2he - 03.04.2013, 11:34
Re: Vip Vehicles - by Nathan_Taylor - 03.04.2013, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)