GetVehicleRotation: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "{{Welcome|desc=Returns the rotation of the streamed in vehicle| params=<source>(vehicleid)</source> <poem>vehicleid : The ID of the vehicle, whose rotation is to be obtained.</poem>| retvals=The Quaternion rotation of the vehicle on success, Quaternion(0,0,0,1) on failure ( invalid vehicleid / not streamed in )}}")
(No difference)

Revision as of 16:47, 21 August 2023


Description:
Returns the rotation of the streamed in vehicle


Parameters:

(vehicleid)

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


Return Values:
The Quaternion rotation of the vehicle on success, Quaternion(0,0,0,1) on failure ( invalid vehicleid / not streamed in )