Overkillz Posted March 29, 2014 Share 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. Link to comment
LonelyRoad Posted March 30, 2014 Share Posted March 30, 2014 What are you trying to do, exactly? Link to comment
.:HyPeX:. Posted March 30, 2014 Share Posted March 30, 2014 setTeamColor() getTeamColor() setVehicleColor() Link to comment
Overkillz Posted March 30, 2014 Author Share 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) 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