07.12.2013, 14:15
Something like this, you have to edit it for your needs though.
Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new veh = GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_DRIVER)
{
if((GetPlayerScore(playerid) < 500)
{
if(veh == VEHICLEID)
{
RemovePlayerFromVehicle(playerid);
}
}
}
return 1;
}

