DarkRP - Default hud


Anyone here know how I disable the default hud.
If I trying to delete the hud.lua file, then I cant see who there own doors etc.
So I need to disable the hud without deleting hud.lua file.

I assume you are using DarkRP 2.5.0, since that is the current release.
If not, go get it here - https://github.com/FPtje/DarkRP

Since you are not supposed to edit any of the files inside the DarkRP gamemode folder, you use the DarkRP Modification addon to do it.
You can get it here - https://github.com/FPtje/darkrpmodification

The addon has a folder called “hudreplacement” which you can utilise. It’s in “darkrpmodification/lua/darkrp_modules”. Read the readme and the lua file and you’ll find out how to replace it.


Thank you thats work…
But how can I then disable the default scoreboard ?

Disable FAdmin.

If I disable FAdmin, then my custom scoreboard won’t work.

In the old darkrp version then you should fix a line in a file and then the default scoreboard was disabled.

I don’t really see a point in having FAdmin if you don’t have the scoreboard though.

Use the hooks ScoreboardShow and ScoreboardHide and then return true at the end to stop other hooks.
That should work :slight_smile:

Well, now im trying to make a custom scoreboard work, but i cant make it to work, if i disable FAdmin, it goes to the sandbox scoreboard, even with the custom one in the addons folder…

this is the scoreboard, btw

Nvm, now im trying to make it work, its using old Garry’s Mod 12 functions…