adithegman Posted April 27, 2013 Share Posted April 27, 2013 hello everybody! can you pls help me? i want to create a script for my friend's server for clans so when you connect it checks if you have a clan name in your nametag for ex: |TG|adithegman and then it puts you in the team with setPlayerTeam but i don't know how to get the part of the name |TG|? Link to comment
iPrestege Posted April 27, 2013 Share Posted April 27, 2013 "onPlayerJoin" string.find Link to comment
adithegman Posted April 27, 2013 Author Share Posted April 27, 2013 Thx for help, but if there are more teams how must i do? Link to comment
iPrestege Posted April 27, 2013 Share Posted April 27, 2013 You mean you want to create more than one team? Link to comment
iPrestege Posted April 27, 2013 Share Posted April 27, 2013 You can use "Table" to create teams with createTeam function . Link to comment
adithegman Posted April 27, 2013 Author Share Posted April 27, 2013 ok i know now how to do it thx! 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