TomDotBat / pixel-hud

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

NLR Timer spam #7

Open Mickerdx opened 12 months ago

Mickerdx commented 12 months ago

[[ui]_pixelhud] addons/[ui]_pixelhud/lua/pixelhud/drawing/cl_nlr_timer.lua:38: attempt to call method 'IsInSpawn' (a nil value)

  1. func - addons/[ui]_pixelhud/lua/pixelhud/drawing/cl_nlr_timer.lua:38

    1. unknown - addons/[library]_sam_lib/lua/includes/modules/hook.lua:241 (x3915)

    Spams this message after you die.

MrZone1 commented 3 months ago

[[ui]_pixelhud] addons/[ui]_pixelhud/lua/pixelhud/drawing/cl_nlr_timer.lua:38: attempt to call method 'IsInSpawn' (a nil value)

  1. func - addons/[ui]_pixelhud/lua/pixelhud/drawing/cl_nlr_timer.lua:38
  2. unknown - addons/[library]_sam_lib/lua/includes/modules/hook.lua:241 (x3915)

Spams this message after you die.

Hi, i just downloaded the HUD and i fixed that issue, i hope you fixed it too but i will give the way to fix it

First way to fix it 1 - Go to folder: pixel-hud-master\lua\pixelhud\common 2 - Open cl_color.lua 3 - delete from line 102 to 99 (all the NLR module)

4 - Go to folder: pixel-hud-master\lua\pixelhud\drawing 5 - Delete the file named: cl_nlr_timer

2nd way to fix it

1 - Install an NLR System on your server it will patch the problem, but if the issue is still here you can code an NLR module yourself and connect it to your NLR addons, If it doesn't fix the problem then use the First way to fix the problem