GetVehicleRotation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
retvals=The Quaternion rotation of the vehicle on success, Quaternion(0,0,0,1) on failure ( invalid vehicleid / not streamed in )| | retvals=The Quaternion rotation of the vehicle on success, Quaternion(0,0,0,1) on failure ( invalid vehicleid / not streamed in )| | ||
relfuncs=*[[IsVehicleStreamedIn]] | relfuncs=*[[IsVehicleStreamedIn]] | ||
*[[GetVehiclePos]]}} | *[[GetVehiclePos]] | ||
*[[GetVehicleSpeed]] | |||
}} |
Latest revision as of 16:48, 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 )
Related Functions
The following functions may be helpful as they relate to this function in one way or another.