Keilbritschn Posted July 16, 2012 Posted July 16, 2012 Hey Guys, (sry for my bad english ^^). My Problem is, if i restart the server, all the teams in scoreboard are deleted, and ich i created a team and i join this team and reconnect, so im no more in this team. Pls help me .
Castillo Posted July 16, 2012 Posted July 16, 2012 The only thing you can do is create a script which creates the teams when the resource starts.
Wei Posted July 16, 2012 Posted July 16, 2012 createTeam("teamName", red, green, blue) teamName must have "", and the red, green, blue are nubers from 0 to 255
Keilbritschn Posted July 16, 2012 Author Posted July 16, 2012 thanks, but how can i, if i log in that i automaical be in the team?
Castillo Posted July 16, 2012 Posted July 16, 2012 You must make a script which saves team on quit and loads on login. Events you need: onPlayerQuit onPlayerLogin Functions you need: getPlayerTeam getTeamName setAccountData getAccountData getTeamFromName setPlayerTeam
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