OnUnoccupiedVehicleUpdate - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnUnoccupiedVehicleUpdate (
/showthread.php?tid=531579)
OnUnoccupiedVehicleUpdate -
Banditukas - 13.08.2014
Hi,
I want to ask. This callback will be still called for ex:
In vehicle will be driver, and i will be like passenger. And if driver will go by car, position will update? i mean this callback get called?
Re: OnUnoccupiedVehicleUpdate -
Lordzy - 13.08.2014
AFAIK, this callback would only get called on vehicles which are unoccupied. You can know more about it here :
https://sampwiki.blast.hk/wiki/OnUnoccupiedVehicleUpdate
Re: OnUnoccupiedVehicleUpdate -
Banditukas - 13.08.2014
Other question. When player is sitting as passenger and then i do him SetVehiclePos, vehicle pos get change?
Re: OnUnoccupiedVehicleUpdate -
Phyzic - 13.08.2014
ye, thats used on Vehicle so it will.
Re: OnUnoccupiedVehicleUpdate -
Banditukas - 13.08.2014
Why sometimes Float:vel_x, Float:vel_y, Float:vel_z
return negative value? i mean -0.00001, -0.0025 and so on.