Garry's Mod

Garry's Mod

ПОМЕР (Atomic Heart Death Screen)
livingflore 29 Oct, 2022 @ 7:09am
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
< >
Showing 1-1 of 1 comments
and this isn't just in the code becase?
< >
Showing 1-1 of 1 comments
Per page: 1530 50