float height = getCharHeightAboveGround(Ped ped)
Возвращает точное значение высоты над землёй относительно персонажа
Ped ped Хендл персонажа
float height Результат
function main()
while not isSampAvailable() do wait(100) end
while true do wait(0)
local height = getCharHeightAboveGround(PLAYER_PED)
printStringNow(height)
end
end