18.02.2019, 20:40
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;
}