12.06.2012, 12:08
Blacklite, I doubt he meant sending a lot of UPDATE queries in a row.
I'd second Kar's opinion - there's no need to update the fields that rarely need to be updated in OnPlayerDisconnect. Things such as toggles.
However you have an interesting point of how only one query is needed when all this data is saved when the player quits, but I seriously doubt that there's any noticeable difference so it comes down to a personal preference.
I'd second Kar's opinion - there's no need to update the fields that rarely need to be updated in OnPlayerDisconnect. Things such as toggles.
However you have an interesting point of how only one query is needed when all this data is saved when the player quits, but I seriously doubt that there's any noticeable difference so it comes down to a personal preference.