29.08.2011, 00:22
Hello, i'm trying to make vehicle for VIP's only, but i got some problems.
I added "new VIPCars"
And under SetGameModeInit()
VIPCars = CreateVehicle(522,1511.4296,-1468.1578,9.0694,269.7784,3,;
and under OnPlayerEnterVehicle
{
if(VIPCars)
{
If (PlayerInfo[playerid][pVIP] == 1)
{
return 1;
}
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, colour, "You are not a VIP");
}
return 1;
}
And then i get 26 errors does someone knows what's wrong with this?
I added "new VIPCars"
And under SetGameModeInit()
VIPCars = CreateVehicle(522,1511.4296,-1468.1578,9.0694,269.7784,3,;
and under OnPlayerEnterVehicle
{
if(VIPCars)
{
If (PlayerInfo[playerid][pVIP] == 1)
{
return 1;
}
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, colour, "You are not a VIP");
}
return 1;
}
And then i get 26 errors does someone knows what's wrong with this?