In-game panel suggestions
#3

Quote:
Originally Posted by MP2
Посмотреть сообщение
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.
For "account variables" i mean the variables i use in my account system like i have:

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?
Reply


Messages In This Thread
In-game panel suggestions - by Face9000 - 29.10.2012, 21:31
Re: In-game panel suggestions - by MP2 - 30.10.2012, 08:49
Re: In-game panel suggestions - by Face9000 - 30.10.2012, 12:22
Re: In-game panel suggestions - by Glint - 30.10.2012, 13:17
Re: In-game panel suggestions - by playbox12 - 30.10.2012, 13:58
Re: In-game panel suggestions - by Face9000 - 30.10.2012, 14:17
Re: In-game panel suggestions - by [HK]Ryder[AN] - 30.10.2012, 16:03
Re: In-game panel suggestions - by Face9000 - 30.10.2012, 18:46

Forum Jump:


Users browsing this thread: 1 Guest(s)