GetVehicleTurnVelocity: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{Server client function}}
{{Server client function}}
{{Needs Checking|can somebody try this and see if it works properly? I always got random numbers even when the vehicle was completely still --[[User:Norby89|Norby89]] 12:03, 27 August 2007 (CDT)}}
__NOTOC__
__NOTOC__
This function is used to retrieve a vehicle's turning velocity for each axis.
This function is used to retrieve a vehicle's turning velocity for each axis.

Revision as of 12:40, 17 April 2009

This function is used to retrieve a vehicle's turning velocity for each axis.

Syntax

float float float getVehicleTurnVelocity ( vehicle theVehicle )

Required Arguments

  • theVehicle: The vehicle you wish to get the turning velocities of.

Returns

Returns 3 floats that represent the vehicle's turning velocity on the x, y and z axis or false if wrong arguments were passed.

Example

This page does not currently have an example

--enter an example here

See Also