Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- decl String:configFlag[128];
- decl String:section[32];
- new bool:found = false;
- do {
- KvGetSectionName(configFile, section, sizeof(section));
- KvGetString(configFile, "custom_override", configFlag, sizeof(configFlag));
- if(strlen(configFlag) == 0 && StrContains(section, "STEAM_", false) == -1 && StrContains(section, "[U:1:", false) == -1) {
- found = true;
- break;
- }
- if(CheckCommandAccess(client, configFlag, ADMFLAG_ROOT, false)) { // Where I check for the custom override
- found = true;
- break;
- }
- } while(KvGotoNextKey(configFile));
- if(!found) {
- return;
- }
- }
Add Comment
Please, Sign In to add comment