Reflex# Posted November 28, 2012 Share Posted November 28, 2012 I have a question.. How I can make rainbow color of car? I mean it must changing in rainbow or another combination for Race mode. Or how to make it for only 1 team. Sample : DONATORS team Link to comment
Castillo Posted November 28, 2012 Share Posted November 28, 2012 You just set the vehicle color with a random number between 0 and 255, like this: r = math.random ( 255 ) g = math.random ( 255 ) b = math.random ( 255 ) Link to comment
Reflex# Posted November 28, 2012 Author Share Posted November 28, 2012 You just set the vehicle color with a random number between 0 and 255, like this: r = math.random ( 255 ) g = math.random ( 255 ) b = math.random ( 255 ) hm...okay..but how can I use it for some1 group? just use aclGetGroup? Link to comment
Castillo Posted November 28, 2012 Share Posted November 28, 2012 You said team, that means you need to use: getPlayerTeam getTeamName 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