{Help} Lua Errors Can't Solve It [Help]

I downloaded a hud from Garry’s Mod.ord and i set it up correctly but when i go ingame i just get yellow scripts errors. Please if someone can fix these it would mean alot i’ve been trying to solve this for about 3 days now and i’ve just had enough so i thought if any who has enough lua knowledge to help me out.


[ERROR] gamemodes/darkrp/gamemode/client/hud.lua:138: attempt
bal 'CUR' (a nil value)
  1. DrawPlayerInfo - gamemodes/darkrp/gamemode/client/hud.lua
   2. DrawHUD - gamemodes/darkrp/gamemode/client/hud.lua:310
    3. unknown - gamemodes/darkrp/gamemode/client/hud.lua:406

Someone help please?

Chances are it’s outdated. You won’t get anywhere with fixing it, especially if you don’t know much about Lua.

But yet, if its outdated can it still be fixed?

Yes, but don’t expect anyone here to do it for you (for free). You’d also need to post the code.

Post a link to the code?


local CUR = "$"

to the top of your script.

[lua]local CUR = GM.Config.currency[/lua]

would be better