K4stic Posted August 20, 2013 Posted August 20, 2013 i use Event onPlayerQuit to save the Data but if a Player have MTA Crash they not save what to do? if you can give and an example Giving a Fuck? Nope, That isn't in My Skill Set
denny199 Posted August 20, 2013 Posted August 20, 2013 Thats weird, "onPlayerQuit" is server side and it will check if a player quit, with these reasons: "Unknown" "Quit" "Kicked" "Banned" "Bad Connection" "Timed out" You should try to make a ticket at https://bugs.multitheftauto.com/my_view_page.php if it happens again, try to update your server first. Sometimes I dream about cheese
K4stic Posted August 20, 2013 Author Posted August 20, 2013 My server realy on newest Version Giving a Fuck? Nope, That isn't in My Skill Set
Moderators IIYAMA Posted August 20, 2013 Moderators Posted August 20, 2013 People that crash most of the time end up with Timed out. Client data can't reach the server, so things on clientside can't saved on the server any more. But serverside data should not be a problem, as long the receive functions start directly after he quits. It must be something with the system, as far I know the event always got triggered. But if I am wrong, pls let me know. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
K4stic Posted August 21, 2013 Author Posted August 21, 2013 like i say i use onPlayerQuit so is Server side the save system not client -.-" Giving a Fuck? Nope, That isn't in My Skill Set
ZL|LuCaS Posted August 21, 2013 Posted August 21, 2013 like i say i use onPlayerQuit so is Server side the save system not client -.-" https://wiki.multitheftauto.com/wiki/OnClientPlayerQuit MTA Scripters. ♥♥♥Beijinhos♥♥♥
Moderators IIYAMA Posted August 21, 2013 Moderators Posted August 21, 2013 like i say i use onPlayerQuit so is Server side the save system not client -.-" Sometimes there is data that is created at client side, I didn't mention that you use some of it client. Just in case. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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