Kevin_Linden Posted February 28, 2010 Share Posted February 28, 2010 How can i make a script thats Save Pos,Skin and Money on Logout/quit/crash and also loads it when they join the server again? Link to comment
dzek (varez) Posted February 28, 2010 Share Posted February 28, 2010 events: onPlayerJoin onPlayerQuit functions: getPlayerMoney setPlayerMoney getElementPosition setElementPosition getPedSkin setPedSkin and you need to save this somewhere, SQL (search on wiki.multitheftauto.com) or accout data (setAccountData, getAccountData) or XML (search on wiki again) Link to comment
Callum Posted February 28, 2010 Share Posted February 28, 2010 getPedSkin setPedSkin These functions are deprecated. Use getElementModel and setElementModel instead. 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