Xeno Posted January 8, 2012 Share Posted January 8, 2012 NVM: I WAS TESTING IT WRONG, LOLOLOL I know, its the easeist thing in the world, but its gone right out my head and I have no clue how to do it??? I know you have to check the team... I came up with this, but its a mess: local police = getTeamFromName("Police") playerteam = getPlayerTeam (source) if playerteam == police then Thanks, Xeno Link to comment
FatalTerror Posted January 8, 2012 Share Posted January 8, 2012 Like this ? local team = getPlayerTeam(source) if team then local police = getTeamFromName("police") if (team == police)then -- He is Police Team end else -- He is not in any team end Link to comment
Xeno Posted January 8, 2012 Author Share Posted January 8, 2012 Yeah, I was doing it right before aswell, I just got some things mixed up, Thank you 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