• draw.SimpleText | Help Pls
    3 replies, posted
How to make when you click the text displayed for jobs TEAM_GLU, TEAM_LAB, TEAM_UA, TEAM_UB and TEAM_UC? sboruch.DoClick = function(v) ConsoleNotify( " _Sample!_" ) for k, v in pairs(player.GetAll()) do hook.Add("HUDPaint", "SborUCH", function() draw.SimpleText("Sample Text", "SampleFont", ScrW()/2, y, Color(18, 130, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) end) end sboruch:SetVisible( false ) surface.PlaySound("garrysmod/ui_click.wav") end
team.GetName( ENUM )
Not quite understood, can be on-more specifically?...
What exactly do you want to do? I don't really understand what you asked. Tho, if you want to get the team name, you should do team.GetName(TEAM) as CupCakeR said So, to example team.GetName(TEAM_GLU) team.GetName(TEAM_LAB) Etc
Sorry, you need to Log In to post a reply to this thread.