30.10.2012, 13:58
Go with either booleans or bit arrays.
This example is not correct it's more of a psuedo code with actual code hah, but I hope you get the idea. Look at the includes for bit arrays, I think ****** made y_bits in YSI and Ryder` also made an include for it.
pawn Код:
#define TOTAL_SETTINGS 10
#define P_SETTING_PM 0
#define P_SETTING_TD 1
#define CONTINUE HERE 2
pSettings[MAX_PLAYERS][TOTAL_SETTINGS char] (total settings would be the amount of settings you'd have)
// Now you can use it like this
pSettings[playerid][P_SETTING_PM] = 1;