-Jigsaw Posted March 22, 2013 Share Posted March 22, 2013 Hello, I have this: local r, g, b local playerTeam = getPlayerTeam(source) r, g, b = getTeamColor(playerTeam) However, I need to get the team's color in HEX color code, how can I convert it ? Thank you in advance! 1 Link to comment
Sasu Posted March 22, 2013 Share Posted March 22, 2013 See this: https://wiki.multitheftauto.com/wiki/RGBToHex 1 Link to comment
-Jigsaw Posted March 23, 2013 Author Share Posted March 23, 2013 Works like a charm, thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now