Need a coder!

I am looking for a lua coder to help me make a hud for my darkrp server.

I don’t mind what or how it looks…
any thing is better then the crap one you get with the gamemode.

or can someone fix this one “http://www.garrysmod.org/downloads/?a=view&id=126167


(User was banned for this post ("Missed the hire thread" - Ninja101))

You seem to have missed this thread.

If you want anyone to fix the HUD you linked to. It might be necessary to post which errors you get when using it?

oh sorry here is the error


[ERROR] lua/includes/modules/draw.lua:70: 'ScoreboardText' isn't a valid font

  1. SetFont - [C]:-1
   2. SimpleText - lua/includes/modules/draw.lua:70
    3. DrawPlayerInfo - gamemodes/darkrp/gamemode/client/hud.lua:94
     4. DrawHUD - gamemodes/darkrp/gamemode/client/hud.lua:310
      5. unknown - gamemodes/darkrp/gamemode/client/hud.lua:406

If someone can help <3

Place in lua/autorun/

While you’re at it Shadow, could you also make me a Theater gamemode?

Thank you that seems to have fixed it… but now I get this error


[ERROR] gamemodes/darkrp/gamemode/client/hud.lua:48: attempt to compare number with string
  1. formatNumber - gamemodes/darkrp/gamemode/client/hud.lua:48
   2. DrawPlayerInfo - gamemodes/darkrp/gamemode/client/hud.lua:148
    3. DrawHUD - gamemodes/darkrp/gamemode/client/hud.lua:310
     4. unknown - gamemodes/darkrp/gamemode/client/hud.lua:406

Right before that line, put
[lua]n = tonumber(n or 0)[/lua]
I don’t have DarkRP downloaded, so I can’t exactly test it out right now.

That did something. but now I have a new error


[ERROR] gamemodes/darkrp/gamemode/client/hud.lua:377: attempt to call global 'ValidEntity' (a nil value)
  1. DrawEntityDisplay - gamemodes/darkrp/gamemode/client/hud.lua:377
   2. unknown - gamemodes/darkrp/gamemode/client/hud.lua:409

add this to the code:

[lua]
function ValidEntity(ent)
return IsValid(ent)
end
[/lua]

Or just replace any instance of “ValidEntity” with “IsValid”?

I’m sure most text editors have a “find and replace” feature