10.03.2010, 20:31
Код:
public OnPlayerStateChange(playerid,newstate,oldstate) { if(newstate == 2) { if(GetPlayerVehicleID(playerid) == THE_VEHICLE_VARIABLE_YOU_PLACED) { if(GetPlayerScore(playerid) < THE_SCORE_YOU_WANT_FOR_THE_VEHICLE +1) return RemovePlayerFromVehicle(playerid); } } return 1; }