Jump to content

Skin for 1 team


SannoX

Recommended Posts

Posted

This is the support section, not the request section. If you're looking for any kind of support, you should at least give us something or tell us what you've been trying so far.

Posted

For this you need to make an script using this functions.

getPlayerTeam

setElementModel

getTeamName

Ex:

function setSkinForTeam() 
          local team = getTeamName(getPlayerTeam(source)) 
          if team == "Your_Team_Name" then  
               setElementModel(source, 34) --You can change this how you want. 
          else 
               setElementModel(source, 0) --Setting default model cause his team is diferent!  
          end 
     end 
addEventHandler("onPlayerLogin", root, setSkinForTeam) 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...