getElementAngularVelocity | Multi Theft Auto: Wiki Skip to content

getElementAngularVelocity

Client-side
Server-side
Shared

Pair: setElementAngularVelocity

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


Gets the current angular velocity of a specified, supported element.

Syntax

getElementAngularVelocity ( )

Code Examples

server
addCommandHandler("getangularvelocity",
function(sourcePlayer, commandName)
local aX, aY, aZ = getElementAngularVelocity(sourcePlayer)
outputChatBox("Your current angular velocity is: X: " .. aX .." Y: " .. aY .." Z: " .. aZz, sourcePlayer)
end
)

See Also

Element Functions