kalitonchik Posted December 19, 2007 Share Posted December 19, 2007 How i macke another color commands MTA Nickname Colors Red Clarity Green Color Blue Code ÿÿ Purple Light blue Yellow Orange Green Bordeaux Navy White MTA Invisible MTA Yellow MTA Pink where can i cheange colors?! plz tel me Link to comment
Guest Posted December 31, 2007 Share Posted December 31, 2007 Not entirely sure what you mean but you could do: addCommandHandler("color", "cmd_changeColor") cmd_changeColor = function(player, commandname, r, g, b, a) local mr, mg, mb = getPlayerNametagColor(player) if not r then r = mr else r = tonumber(r) end if not g then g = mg else g = tonumber(g) end if not b then b = mb else b = tonumber(b) end if not a then a = 170 else a = tonumber(a) end setPlayerNametagColor(player, r, g, b, a) end I don't actually know if setPlayerNametagColor is a function but the get version of it exists so it seems logical. I also don't know if it requires an alpha value, if not it'll just be ignored. Link to comment
Aeron Posted January 3, 2008 Share Posted January 3, 2008 http://home.deds.nl/~aeron/gen.html 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