Jump to content

Score save


Minotaur

Recommended Posts

Posted

"I want" immediately means Nope.

No scripting requests, you can make it with;

addEventHandler("onPlayerQuit", ....) 
getElementData 

and onPlayerJoin check for the data and set it back.

addEventHandler("onPlayerJoin", ....) 
getElementData 
setElementData 

"If debugging is the process of removing software bugs, then programming must be the process of putting them in."

Posted

ViRuZ, he said "on quit", I don't think that element data do save on quit.

Minotaur ignore him please, you've got many options to save score, either account data (setAccountData and getAccountData), XML, or SQL. :)

Posted

No Viruz is right abxf. Just get the element data on player quit event and then you have to save it in a xml file , sql or account data as abxf said.

Posted

I dont understand that things... if anyone can teach me the scripting ... i want to learn it but no ones teach me and the wiki is hard to me

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