NET_UPDATE

this callback is called whenever csgo finishes processing the newest networked data this callback should be used to override entity props

local function on_net_update()
    local local_player = entity_list.get_local_player()
    if local_player ~= nil then
        print("current health", local_player:get_prop("m_iHealth"))
    end
end
callbacks.add(e_callbacks.NET_UPDATE,on_net_update)

Last updated