Overkillz Posted March 29, 2014 Posted March 29, 2014 Hey Everyone, I will like to do a team color car, but the problem of this, this is showing on the nickname the color team (Only if u aren't using a color html). My question is, I can o a script where only change the color to my car ? (I want to say to the team) Script: function createAdminTeamOnStart () team = createTeam ( "TEST TEAM", 38, 125, 124 ) end addEventHandler("onResourceStart", resourceRoot, createAdminTeamOnStart) function setAdminTeam() if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("TT")) then setPlayerTeam(source, team) end end addEventHandler("onPlayerLogin",getRootElement(),setAdminTeam) function getOutFromTeam() if source then setPlayerTeam(source, nil) end end addEventHandler("onPlayerLogout",getRootElement(),getOutFromTeam) I wait your answer. Thanks and regards.
.:HyPeX:. Posted March 30, 2014 Posted March 30, 2014 setTeamColor() getTeamColor() setVehicleColor()
Overkillz Posted March 30, 2014 Author Posted March 30, 2014 I want to say, only show the team color on the mini map. (No on the name ...etc, only on the mini map)
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