ZeyadGTX Posted March 12, 2014 Posted March 12, 2014 Please i want Script which when i add some one to team get the team color because i tried alot , alot not working please some one give me script with Meta Please Help me, And THanks My nick in MTA is Spider
Chronos Posted March 12, 2014 Posted March 12, 2014 This board for scripting helps not for requests,To script such thing use createTeam setPlayerTeam setPlayerNametagColor
-.Paradox.- Posted March 12, 2014 Posted March 12, 2014 local blip = { } addEventHandler ( "onPlayerLogin", root, function ( ) if ( not isElement ( blip [ source ] ) ) then blip [ source ] = createBlipAttachedTo ( source ) end local theTeam = getPlayerTeam ( source ) if ( not theTeam ) then return end local r, g, b = getTeamColor ( theTeam ) setPlayerNametagColor ( source, r, g, b ) setBlipColor ( blip [ source ], r, g, b, 255 ) end ) addEventHandler ( "onPlayerQuit", root, function ( ) if isElement ( blip [ source ] ) then destroyElement ( blip [ source ] ) end end ) If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
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