• HUD SteamID/ Steam name
    4 replies, posted
How would I get my HUD to show the players steam ID and/or Steam name? Would I use draw.SimpleText or something more advanced? Thanks
draw.SimpleText should be more than enough for that. It would be something like [LUA] draw.SimpleText( ply:SteamID(), "Arial12", xpos, ypos, Color(255,255,255),TEXT_ALIGN_LEFT,TEXT_ALIGN_CENTER ) [/LUA] Alternatively you could just add a [URL="http://wiki.garrysmod.com/page/Category:DLabel"]DLabel [/URL]to the hud
Yeah that works, thanks.. what about their steam name?
ply:Nick()
Alright, sweet, thanks guys!
Sorry, you need to Log In to post a reply to this thread.