Hello I am getting this LUA error into my console because of my HUD apparently, i'll provide HUD Source Code.
[QUOTE][ERROR] gamemodes/darkrp/gamemode/client/hud.lua:226: attempt to compare number with nil
1. MyHUD - gamemodes/darkrp/gamemode/client/hud.lua:226
2. DrawHUD - gamemodes/darkrp/gamemode/client/hud.lua:248
3. unknown - gamemodes/darkrp/gamemode/client/hud.lua:360[/QUOTE]
They are accents so its UTF8 without BOM
[URL="http://pastebin.com/u7ufzEHk"]http://pastebin.com/u7ufzEHk[/URL]
Thanks You.
Put this above local hr and remove the one that is below hr.
[lua]
LocalPlayer().DarkRPVars = LocalPlayer().DarkRPVars or {}
LocalPlayer().DarkRPVars.Energy = LocalPlayer().DarkRPVars.Energy or 0
[/lua]
Sorry, you need to Log In to post a reply to this thread.