LabiVila Posted July 9, 2013 Posted July 9, 2013 function teams () teams = createTeam ("Test", 0, 255, 0) end addEventHandler ("onResourceStart", resourceRoot, teams) I want to make this: If the player hauls the test tag (for example test|LabiVila), that player should automatically move to the Test team. Any help would be appreciated so much, thank you further.
Lloyd Logan Posted July 9, 2013 Posted July 9, 2013 function teams () teams = createTeam ("Test", 0, 255, 0) end addEventHandler ("onResourceStart", resourceRoot, teams) I want to make this: If the player hauls the test tag (for example test|LabiVila), that player should automatically move to the Test team. Any help would be appreciated so much, thank you further. The main ones triggerEvent setPlayerTeam
iPrestege Posted July 9, 2013 Posted July 9, 2013 Event : onPlayerJoin right? Functions : setPlayerTeam getPlayerName string.find Done!
Lloyd Logan Posted July 9, 2013 Posted July 9, 2013 Yeah, just trigger that when the flag is hit/touched!
Lloyd Logan Posted July 9, 2013 Posted July 9, 2013 Thank you so much, both.Done thanks to you. Easy as that. No problem!
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