GetVehiclePos

From NPC for VCMP 0.4 Servers
Revision as of 16:46, 21 August 2023 by Habi (talk | contribs) (Created page with "{{Welcome|desc=Returns the position of the streamed in vehicle| params=<source>(vehicleid)</source> <poem>vehicleid : The ID of the vehicle, whose position is to be obtained.</poem>| retvals=The position of the vehicle as Vector on success, Vector(0,0,0) on failure ( invalid vehicleid/not streamed in )}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description:
Returns the position of the streamed in vehicle


Parameters:

(vehicleid)

vehicleid : The ID of the vehicle, whose position is to be obtained.


Return Values:
The position of the vehicle as Vector on success, Vector(0,0,0) on failure ( invalid vehicleid/not streamed in )