TomDotBat / pixel-hud

A simplistic DarkRP HUD built using PIXEL UI.
GNU General Public License v3.0
4 stars 4 forks source link

Client NLR not working // Box Hud disappearing after first death #3

Closed BigBubatz closed 2 years ago

BigBubatz commented 2 years ago

Sorry to post this issue but i cant debug it by myself.

If i die i get this error in the console (Client Error) `[pixel-hud] addons/pixel-hud/lua/pixelhud/drawing/cl_nlr_timer.lua:38: attempt to call method 'IsInSpawn' (a nil value)

  1. fn - addons/pixel-hud/lua/pixelhud/drawing/cl_nlr_timer.lua:38
    1. unknown - addons/ulib/lua/ulib/shared/hook.lua:109`

The Box Hud also gets removed from the screen after i die for the first time.

BigBubatz commented 2 years ago

FIXED.

I set the NLR Time to 0

in the code (pixel-hud/lua/pixelhud/drawing/cl_nlr_timer.lua) 15. local NLR_TIME = 0