• Team Colors
    2 replies, posted
I am currently editing a DarkRP hud on my friends server and I wish to make it so when you change Jobs the Team you change to color will change in the hud as well. For a example, Gun Dealer orange to Citizen green. I am not going to post the code I just want to have the line of code for it I have done it before I just forget what the line command is again! I am pretty sure it is [code] LocalPlayer():team(() [/code]
[lua] local TeamColor = team.GetColor(LocalPlayer():Team()) [/lua] then use TeamColor as your color.
OHHH yeah haha thanks dude! edit! worked like a charm!
Sorry, you need to Log In to post a reply to this thread.