Вы используете устаревший браузер. Этот и другие сайты могут отображаться в нём некорректно. Вам необходимо обновить браузер или попробовать использовать другой.
Что блять сложного?
local function anim_update(lp)
lp = entity.get_local_player()
if (lp == nil or not lp:is_alive()) then return end
lp.m_flPoseParameter[0] = 1
end
events.post_update_clientside_animation:set(anim_update)
Что блять сложного?
local function anim_update(lp)
lp = entity.get_local_player()
if (lp == nil or not lp:is_alive()) then return end
lp.m_flPoseParameter[0] = 1
end
events.post_update_clientside_animation:set(anim_update)
local function anim_update(lp)
print(1)
lp = entity.get_local_player()
if (lp == nil or not lp:is_alive()) then return end
lp.m_flPoseParameter[12] = 0.5
end
events.post_update_clientside_animation:set(anim_update)
Что блять сложного?
local function anim_update(lp)
lp = entity.get_local_player()
if (lp == nil or not lp:is_alive()) then return end
lp.m_flPoseParameter[0] = 1
end
events.post_update_clientside_animation:set(anim_update)
- Added callbacks: pre_update_clientside_animation, post_update_clientside_animation (argument #1: player). It's highly recommended to move all animation breaking scripts to these
Код:
events.post_update_clientside_animation(function (ent)
local lp = entity.get_local_player()
if lp == nil or ent == nil then
return
end
if ent == lp then
-- тут уже делаеш дела
end
end)