29.08.2011, 00:44
Try this
OnPlayerEnterVehicle
pawn Код:
public VIPCars()
{
if(carid == X)
{
return 1;
}
}
pawn Код:
if(VIPCars)
{
if(PlayerInfo[playerid][pVip] <= 0)
{
SendClientMessage(playerid, colour, "You are not a VIP");
RemovePlayerFromVehicle(playerid);
return 1;
}
}