PHP Code:
#define MAX_PLAYERS 32
//Create a list of options that are supported by the plugin
enum ( <<=1 ) _: Options
{
Speed=1, // 1 << 0 or 1
AutoAim, // 1 << 1 or 1 << 1 (as value is calculated by enum)
HighJump, // 1 << 2 or 2 << 1
ExtraHP, // 1 << 3 or 4 << 1
ExtraArmor // 1 << 4 or 8 << 1
}
//Define an array that will keep track of each option a player currently has
new g_Options[ MAX_PLAYERS+1 ];
//Examples of how to apply option for player
g_Options[ id ] |= Speed;
g_Options[ id ] |= HighJump;
g_Options[ id ] |= ExtraArmor;
//Example how to check if a player has an option
if ( g_Options[ id ] & Speed )
//player has speed
This was literally in Bugsy's thread. There's no way you could've missed it if you haven't read a bit yourself.