Posts: 3,351
Threads: 780
Joined: Jan 2010
Quote:
Originally Posted by playbox12
Go with either booleans or bit arrays.
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;
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.
|
It's exactly what i have in my account settings, so i'll go with that, thank you