Quote:
Originally Posted by Kasichok
PHP Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 && User[playerid][accountVIP] == 0)
{
if(newstate == 3 || newstate == 2)
{
ClearAnimations(playerid);
SendClientMessage(playerid, -1, "I'm sorry, but this car has been reserved for Admins only!");
}
}
return 1;
}
|
Just tried it, somehow it ends up creating a permanent loop of entering and leaving the vehicle.