19.02.2019, 01:09
Quote:
Im trying to restrict every single hydra, how do i lock all hydras ingame and just let them unlocked for VIP Players?
I dont seem to understand it |
PHP Code:
//OnPlayerStateChange
if(newstate == PLAYER_STATE_DRIVER)
{
new vehicleid = GetPlayerVehicleID(playerid);
if(GetVehicleModel(vehicleid) == 520 && User[playerid][accountVIP] <= 0)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, -1, "If this does not work, then there may be functions that prevent the
execution of this.!");
}
}