This commit is contained in:
2024-11-07 23:12:37 +01:00
parent a67a1d8f40
commit f7c91862a0
3089 changed files with 18209 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param unit string
---@return number pitch
---Returns the player's current pitch (slope or angle of movement). Only valid for the unitID "player". The slope returned here reflects only the direction of movement for swimming or flying, not the current orientation of the player model or camera. (When on solid ground, GetUnitPitch indicates what the angle of flight would be were the player to start flying.) The returned value is in radians, with positive values indicating upward slope, negative values indicating downward slope, and 0 indicating perfectly level flight (or swimming).
function GetUnitPitch(unit) end