Try Posted July 16, 2011 Share Posted July 16, 2011 Hello Guys! Can some one help me? i need know how to make this work: if (getPlayerTeam == 0) then -- and the other if (getPlayerTeam == Members) then Can someone help? Link to comment
JR10 Posted July 16, 2011 Share Posted July 16, 2011 if (getPlayerTeam == 0) then This is wrong. getPlayerTeam will return a team element, so it must be compared with a team element. example: local Members = getTeamFromName("Members") if getPlayerTeam == Members Or: if getTeamName(getPlayerTeam) == "Members" then Same but in another way. Link to comment
Try Posted July 17, 2011 Author Share Posted July 17, 2011 Ok about the members i understand but i need without group too how to do? Link to comment
BinSlayer1 Posted July 17, 2011 Share Posted July 17, 2011 JR10 you keep calling getPlayerTeam with no argument lol Link to comment
JR10 Posted July 17, 2011 Share Posted July 17, 2011 That's an example, just like she did in the first post. Link to comment
BinSlayer1 Posted July 18, 2011 Share Posted July 18, 2011 That's an example, just like she did in the first post. assuming he wasn't mistaken already lol 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