For some reason when I try and replace the HUD, the original one doesn't go away and the sandbox one is still there. Any ideas?
[URL=http://imgur.com/d9Y2WfS][IMG]http://i.imgur.com/d9Y2WfS.png[/IMG][/URL]
Here you go..
[url]http://wiki.garrysmod.com/page/GM/HUDShouldDraw[/url]
[QUOTE=MrPlonker;44661343]For some reason when I try and replace the HUD, the original one doesn't go away and the sandbox one is still there. Any ideas?
[URL=http://imgur.com/d9Y2WfS][IMG]http://i.imgur.com/d9Y2WfS.png[/IMG][/URL][/QUOTE]
If you're using hooks to draw the HUD, return true and it should prevent any upstream hooks from firing.
If your problem has not been already solved, please contact the author of the script. Unless you have the leaked version, in that case it would not be very smart to contact the coder of the addon.
Who even buys that HUD anymore. It's more overused than the GTA V HUD.
[QUOTE=YoshieMaster;44663003]If you're using hooks to draw the HUD, return true and it should prevent any upstream hooks from firing.[/QUOTE]
That's really bad practice, as you'll break other addons which make use of the HUDPaint. Instead, you should make use of hook.Remove and proprietary hooks included in the gamemode to remove unneeded huds.
[QUOTE=SarahKerrigan;44664269]Who even buys that HUD anymore. It's more overused than the GTA V HUD.[/QUOTE]
Because not everyone wants a hud related to GTA because it tends to provoke rdm etc.
Sorry, you need to Log In to post a reply to this thread.