Garry's Mod

Garry's Mod

ПОМЕР (Atomic Heart Death Screen)
livingflore 2022 年 10 月 29 日 上午 7:09
watch this if death screen bugs in spectate mode
if death screen bugs while you're in spectate mode - add this to line 167 at lua/dlib/autorun/client/pomer.lua:

if not last_alive and ply:GetMoveType() ~= MOVETYPE_NOCLIP then

so it would look like that:


local function Think() if not cl_pomer:GetBool() then return end local ply = DLib.HUDCommons.SelectPlayer() if last_alive ~= ply:Alive() then last_alive = ply:Alive() last_stop_sound = false if not last_alive and ply:GetMoveType() ~= MOVETYPE_NOCLIP then reboot_anim() hook.Add('HUDShouldDraw', 'ПОМЕР', HUDShouldDraw, -2) hook.Add('HUDPaint', 'ПОМЕР', HUDPaint, 15) hook.Add('CalcView', 'ПОМЕР', CalcView, -1000) else hook.Remove('HUDShouldDraw', 'ПОМЕР') hook.Remove('HUDPaint', 'ПОМЕР') hook.Remove('CalcView', 'ПОМЕР') end end if death_frame_skip and death_frame_skip ~= 0 then death_frame_skip = death_frame_skip - 1 if death_frame_skip <= 0 then death_frame_skip = nil surface.PlaySound('ui/sdox.ogg') end end end
< >
正在显示第 1 - 1 条,共 1 条留言
and this isn't just in the code becase?
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50