Jump to content

[ QUESTION ] Team in scoreboard


Recommended Posts

Posted

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 :/.

Posted

The only thing you can do is create a script which creates the teams when the resource starts.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
createTeam("teamName", red, green, blue) 

teamName must have "", and the red, green, blue are nubers from 0 to 255

Diet with russian vodka, lose 3 days in one week !

Posted

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 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...