• Custom HUD issues
    0 replies, posted
Hi all, So I am making a custom HUD using the vgui library included with Garry's Mod, and I have no idea where else to execute [CODE]avatarimage:SetPlayer(client)[/CODE] but inside of the [CODE]HUDPaint [/CODE] hook. Not only that, but also getting and setting the weapon icon I wish to display via [CODE]PlayerWeaponSwitch [/CODE] doesn't work client side according to the wiki. Does anyone have advice? Here is my code if you need it: [url]http://pastebin.com/L6h9mg6Z[/url] P.S I know that constantly setting the player is bad (causing fps loss), but I again, have no idea where else to place that.
Sorry, you need to Log In to post a reply to this thread.