18.04.2012, 12:28
Well I found out that many servers use enum PlayerInfowhen they set money/weapons/whatever in commands and they convert the enum to dini/SQL or whatever they use on OnPlayerDisconnect. So I wonder why? Why can't you just set the variable directly from the saving system when you build commands and such instead of just saving it on OnPlayerDisconnect?
Will it cause laggs if I'll set the variable directly to my saving system at commands like /pay, /giveweapon and any other command which requires something to be saved?
Will it cause laggs if I'll set the variable directly to my saving system at commands like /pay, /giveweapon and any other command which requires something to be saved?