Forrest Posted November 7, 2012 Share Posted November 7, 2012 Alright, pretty much one thing left to my DD server, and it's team saving. Using Lil_Toadys admin panel stil, as you know you can make teams etc. The teams all save, however when I set a player to a team, when they reconnect they're back to a normal player, how do I go about setting it up so that it sets them to a team depending on their name? Say, the name begins with SQL| it sets them to the SeQuentiaL team? Thanks alot. Link to comment
Tete omar Posted November 7, 2012 Share Posted November 7, 2012 You can use setPlayerTeam with setAccountData or if you wanna get that player from serial , then you make a table of the team serials and use onPlayerJoin event , and getPlayerSerial and setPlayerTeam functions if you've a good knowledge in lua. Link to comment
Memory Posted November 7, 2012 Share Posted November 7, 2012 Download https://community.multitheftauto.com/ind ... ls&id=3396 Link to comment
Guest Guest4401 Posted November 7, 2012 Share Posted November 7, 2012 I doubt if you mean saving the team the player was in, in his last visit. Probably you're looking for the "autoteams" resource on the community, which sets someone to a team if they have a particular tag in their name. 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