How to save user data on crash?
#1

Hi,


I have a small problem.... everything is allright ,but when player lost connection or crash the money ,car and something else doesnt save, how to make a script to save user data on crash? I'm using dini.


Thanks in advance
Reply
#2

OnPlayerDisconnect runs when a player crashes too.
Reply
#3

When a player crashes, the 'reason' variable under OnPlayerDisconnect is set to 0, meaning the player lost connection on an unusual way (The others being leaving (1) and getting kicked (2))
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)