FANDOM


Ovaj callback se poziva svaki put kada slobodno vozilo osvezi svoj status.

Ovaj callback se takodje pokazuje kada igrac promeni poziciju vozilo cijeg on nije vozac. Ovo se desava samo kada je 'vozac' Van vozila.

Parametri Edit

(vehicleid, playerid, passenger_seat)
vehicleid - ID vozila na koje se utice
playerid - ID igraca koji posreduje u ovom callbacku
passenger_seat - Mesto na kome je vozac kada igrac pomera auto.
Return - nema

Primer Edit

public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat) {
	new
	    Float: fVehicle[3];
 
	GetVehiclePos(vehicleid, fVehicle[0], fVehicle[1], fVehicle[2]);
 
	if(!IsPlayerInRangeOfPoint(playerid, 10, fVehicle[0], fVehicle[1], fVehicle[2])) {
	    return;
	}
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.