Castillo Posted August 4, 2010 Share Posted August 4, 2010 hey all, ive found a problem at my server, when i quit/logout it saves all data but when i close server dosnt saves any data and i lose all, position, money, etc, have anyone idea how i can fix this problem? thanks in advance. Link to comment
piras Posted August 4, 2010 Share Posted August 4, 2010 I dont know if this will work or not (Ive never tried it), but maybe you could handle this event and save your stuff: https://wiki.multitheftauto.com/wiki/OnResourceStop Link to comment
DakiLLa Posted August 4, 2010 Share Posted August 4, 2010 Yea, use 'onResourceStop' event and loop through all online players and save their current position, money, etc. edit: havent seen the previous post, sry Link to comment
Castillo Posted August 4, 2010 Author Share Posted August 4, 2010 Thanks guys that worked 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