Originally posted by xCobraModzFTW
Lol I'm not really sure how
typedef enum Status
{
None,
Vip,
Admin,
Co-Host,
Host
}; Status AccessLvL[18];
Status getAccessLevel(int client)
{
return AccessLvL[client];
}
bool isAllowed(int client, Status MinLevel = Vip)
{
return getAccessLevel(client) >= MinLevel;
}
There is your Verification System now just add a submenu in your base with clients using an integer of 0 - 17 like...
int SelectedClient[18];
Then change your menu text to the client name like...
ChangeText(option, (char*)(G_Client(0 - 17) + 0x320

);
Then set the integer for each client in your functions like for when the client is selected....
if(Scroll == 1)
{
SelectedClient = 0;
ClientMenu(client); //Calls the client options menu
}