- Dokumentacja
- Funkcje wspólne
- getWindVelocity
Funkcja
getWindVelocity
Zwraca wiatr zapisany przez setWindVelocity. Na serwerze false, gdy nie ustawiono; na kliencie wtedy 0, 0, 0.
Składnia
float, float, float getWindVelocity()Zwraca
x, y, z.
Przykład
local wx, wy = getWindVelocity()
outputDebugString(("Wiatr: %.2f %.2f"):format(wx, wy))