Okay I’ve been learning lua and I’m having a lot of fun creating HUDs, but I’m trying to make them cleaner by using icons.
I know how to set it as a variable I can use
local moneyicon = Material("icon16/money.png") local licenseicon = Material("icon/application_side.png") local wantedicon = Material("icon/exclamation.png")
Like this, but I go to use it and I didn’t think about how positioning would work, I assume it’s x , y
but I wasn’t sure and there was no example on the GMod Wiki.