20.07.2012, 15:32
Quote:
Yea, do what Steven82.
I personally recommend simply making a timer call ever, lets say, 5 seconds, if it only updates a few things. I wouldn't recommend a SHITTON of variables in a timer every 5 seconds. The way you are wanting to do this would cause quite alot of lag if there were a lot of variables that needed to be saved as-well as several players being online. |
Note that the players aren't actually being saved though, it's just the variables are having updated values Performing that many SQL queries a second would be suicide, lol.