- Documentation
- Shared functions
- getWindVelocity
Function
getWindVelocity
Returns the wind stored with setWindVelocity. On the server false when not set; on the client 0, 0, 0 then.
Syntax
float, float, float getWindVelocity()Returns
x, y, z.
Example
local wx, wy = getWindVelocity()
outputDebugString(("Wiatr: %.2f %.2f"):format(wx, wy))