Assassin-NL Posted February 21, 2010 Posted February 21, 2010 is it possible to automaticaly put players in a team by name by table getPlayersInTeam ? like: if you have [123] in your name you automaticaly get sorted in the [123] Team ? sorry for my bad english, im dutch. thanks !
Dark Dragon Posted February 21, 2010 Posted February 21, 2010 yes. if string.find(getPlayerName(thePlayer),"[123]") then setPlayerTeam(thePlayer,getTeamFromName("[123]-Team")) end but you need to find a good time to do this. like onGamemodeMapStart, depending on what you want to do with it.
Assassin-NL Posted February 21, 2010 Author Posted February 21, 2010 but you need to find a good time to do this. like onGamemodeMapStart, depending on what you want to do with it. Just sorting members of a server, i just need to put this in the .lua file of the server ?
driver2 Posted February 24, 2010 Posted February 24, 2010 Maybe try this: https://community.multitheftauto.com/index.php?p= ... ils&id=612
Assassin-NL Posted February 26, 2010 Author Posted February 26, 2010 driver, the autoteams is in the resource list. but how to set the teams? thanks! Or set members from to a certain team
driver2 Posted February 26, 2010 Posted February 26, 2010 driver, the autoteams is in the resource list. but how to set the teams? thanks! Or set members from to a certain team How about reading the readme?
Assassin-NL Posted February 27, 2010 Author Posted February 27, 2010 is it possible to use the same config.xml and edit the server.lua to not change the nick but change the vehicle colour ? thanks
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