TorNix~|nR Posted January 13, 2016 Share Posted January 13, 2016 Hello everyone I have an problem, I make a server zombie in my local server, my Zombie Kills are 4500 I have my command for give zombie kills I go to 'P' [Admin Panel] > Resources and I make this command setElementData(source,"Zombie kills",9999999) It works, but when I reconnect, my zombie kills back to 4500, any solution please? Link to comment
Army@1 Posted January 14, 2016 Share Posted January 14, 2016 setElementData resets whenever you reconnect. You have to use setAccountData. Link to comment
1LoL1 Posted January 14, 2016 Share Posted January 14, 2016 Hello everyone I have an problem, I make a server zombie in my local server, my Zombie Kills are 4500 I have my command for give zombie kills I go to 'P' [Admin Panel] > Resources and I make this command setElementData(source,"Zombie kills",9999999) It works, but when I reconnect, my zombie kills back to 4500, any solution please? local account = getPlayerAccount(source) setAccountData(account, "Zombie kills", 9999999) And if you have save on MySQL dbConnect or MySQL Modules you can use "setElementData". Link to comment
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