SuleymanM Posted March 28, 2013 Share Posted March 28, 2013 Hi all, Today i download this resource : https://community.multitheftauto.com/in ... ls&id=5444 (please see) Why not automatically saved ? I have an saver (resource) How to save this resource? Link to comment
CaptainZ. Posted March 28, 2013 Share Posted March 28, 2013 setAccountData onPlayerLogout and getAccountData then setElementData onPlayerLogin Link to comment
SuleymanM Posted March 28, 2013 Author Share Posted March 28, 2013 This not function: addEventHandler("onPlayerLogout", root, function() local account = getPlayerAccount(source) setAccountData(account, "Top Times", getElementData(source, "Top Times")) end ) addEventHandler("onPlayerLogin", root, function() local account = getPlayerAccount(source) setElementData(source, "Top Times", getAccountData(account, "Top Times")) end ) 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