-
Автор темы
- #1
Подскажите как пофиксить под новое апи ?
Код:
local local_player = EntityList:GetLocalPlayer()
local in_air2 = bit.band(local_player:GetPlayer():GetProp("m_fFlags"), bit.lshift(1,0)) ~= 0
local Crouch2 = bit.band(local_player:GetPlayer():GetProp("m_fFlags"), bit.lshift(2, 0)) ~= 0
local speed = Vector.new(local_player:GetProp("m_vecVelocity[0]"), local_player:GetProp("m_vecVelocity[1]"), local_player:GetProp("m_vecVelocity[2]")):Length2D()