05-31-2012, 06:39 AM
I was actually thinking of a framework other day that would allow plugins to store arbitrary data for each player and possibly, for each world and globally for the server. Data such as simple ints, floats, and strings. Kind of an ini-file, but a bit specialized
So the plugins could do simply:
etc.
That could be the easy way to implement "money" on the server. Just all plugins agreeing on using the same variable
So the plugins could do simply:
Code:
cPlayer::GetValueInt("Section", "Variable")
That could be the easy way to implement "money" on the server. Just all plugins agreeing on using the same variable