Greenie0101 Posted April 29, 2012 Posted April 29, 2012 hi, sorry but I'm learning to script and there are not many good tutorials so its taking a while. I want a script that makes it so that the first time a player joins my server they are put into the team, 'unemployed' then when they join the next time they are in whatever team they were in when they left. For example if I joined for the first ever time, so I'm in no team, I login and the server sees I'm in no team and puts me in the unemployed team. While I'm playing I then go to the bus job, which puts me in the bus driver team. Then I leave the server and come back the next day and I'm put into the bus team. How do I do this? New CMG 2.0 Screenshot! http://img560.imageshack.us/img560/4269/cmg2screen.png CMG 2.0 Trailer! Learn to script from simple video tutorials completely free! Click here for forum page Was the scripter for CMG server! Leaving CMG: 100%
Castillo Posted April 29, 2012 Posted April 29, 2012 getPlayerAccount getAccountData setAccountData getPlayerTeam getTeamName getTeamFromName setPlayerTeam onPlayerQuit onPlayerLogout onPlayerLogin San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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