30.10.2012, 12:22
Quote:
I would recommend a separate enum/array for player settings. pVars aren't really needed in this situation. How can you use defines to store variables? They can't be changed..
What do you mean by account variables? You want them to save right..? I'd make a separate file/table for settings if there's over 10. |
pMoney
pPassword
etc.
So, in case a player need to disable /pm, i'll set pPm to 0 and on the /pm command a check if player has enabled or disabled pms.
But this is just an example, got it?