How do i make a custom scoreboard?
cant find a tutorial for it.
[b][url=wiki.garrysmod.com/?title=Gamemode.HUDDrawScoreBoard]Gamemode.HUDDrawScoreBoard [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
[b][url=wiki.garrysmod.com/?title=Gamemode.ScoreboardShow]Gamemode.ScoreboardShow [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
[b][url=wiki.garrysmod.com/?title=Gamemode.ScoreboardHide]Gamemode.ScoreboardHide [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
Use the Show/Hide hooks if you want to use derma. If not then use the HUDDrawScoreBoard hook to render it manually
thank you
oh and i just got an idea
when you make your own gamemode its a default scoreboard, not sandbox one.
can you somehow get the code for that scoreboard and add a field called status?
Just extract the files from sandbox and include scoreboard.lua then modify it for your needs
thats not the same.
I ment this one [URL]http://i44.tinypic.com/1zeksps.jpg[/URL]
and add a tab called status: and it will print if your admin, vip or owner
[QUOTE=yuriman;20738695]thats not the same.
I ment this one [URL]http://i44.tinypic.com/1zeksps.jpg[/URL]
and add a tab called status: and it will print if your admin, vip or owner[/QUOTE]
This is not the request section stop using it like the request section
i dont request i ask where u can find that scoreboard. Its the default...
If you make a gamemode and dont make a custom scoreboard thats the one thats used.
Just use the hide scoreboard hook?
The one in your picture that you want is inside of the base gamemode found here:
[URL="http://luabin.foszor.com/code/gamemodes/base/gamemode/cl_scoreboard.lua"]http://luabin.foszor.com/code/gamemodes/base/gamemode/cl_scoreboard.lua[/URL]
Sorry, you need to Log In to post a reply to this thread.