Private Vehicles with LuxAdmin
#2

Put all the cars into a varible...

new VIPCars[numberofcars]; - // you can use this or...

new VIPCars;

then under OnGameModeInit

VIPCars[carumber] = Car here

or

VIPCars = Car Here

Then under OnPlayerEnterVehicle

pawn Код:
if(VIPCars)
{
    If (PlayerInfo[playerid][pVIP] == 1)
    {
     return 1;
    }
    else
    {
     RemovePlayerFromVehicle(playerid);
     SendClientMessage(playerid, colour, "You are not a VIP");
     }
return 1;
}
Untested
Reply


Messages In This Thread
Private Vehicles with LuxAdmin - by ServerScripter - 28.08.2011, 23:05
Re: Private Vehicles with LuxAdmin - by IceCube! - 28.08.2011, 23:11
Re: Private Vehicles with LuxAdmin - by ServerScripter - 28.08.2011, 23:17
Re: Private Vehicles with LuxAdmin - by IceCube! - 28.08.2011, 23:19
Re: Private Vehicles with LuxAdmin - by ServerScripter - 28.08.2011, 23:23
Re: Private Vehicles with LuxAdmin - by IceCube! - 28.08.2011, 23:26
Re: Private Vehicles with LuxAdmin - by ServerScripter - 28.08.2011, 23:32
Re: Private Vehicles with LuxAdmin - by IceCube! - 28.08.2011, 23:34
Re: Private Vehicles with LuxAdmin - by maikel saliba - 28.08.2011, 23:35
Re: Private Vehicles with LuxAdmin - by IceCube! - 28.08.2011, 23:37

Forum Jump:


Users browsing this thread: 1 Guest(s)