Edikosh998 Posted May 16, 2012 Posted May 16, 2012 Hi everyone, I wanna know if... table = {} table[player] = true -- for example if that data is going to be removed when the player quits or it will be saved. WRS( World Racing Server) [server] = 8%
Castillo Posted May 16, 2012 Posted May 16, 2012 Every time a player joins, his userdata changes, the data will still be on the table, but the player can't access to it. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Edikosh998 Posted May 16, 2012 Author Posted May 16, 2012 So instead of saving data using the userdata player, I can table = {} getAccountName(account) table[accountName] = true Right? WRS( World Racing Server) [server] = 8%
Castillo Posted May 16, 2012 Posted May 16, 2012 Exactly, you could also use the player serial instead. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Edikosh998 Posted May 16, 2012 Author Posted May 16, 2012 Great, and my last question : An array data, resets ( or delete/elimina ) when you quit or refresh your server? WRS( World Racing Server) [server] = 8%
Castillo Posted May 16, 2012 Posted May 16, 2012 You mean if the arrays/tables are lost when you restart the server? if so then of course. 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