03.08.2017, 19:57
Code:
CMD:help(playerid, params[]) { new alevel = PlayerInfo[playerid][pAdmin]; new string[16000]; if(alevel > 0) { strcat(string, "Normal Player Commands"); strcat(string, "Commands here."); } if(alevel >= 1) { strcat(string, "LEVEL 1 COMMANDS\n"); strcat(string, "Commands here\n"); } if(alevel >= 2) { strcat(string, "LEVEL 2 COMMANDS\n"); strcat(string, "Commands here\n"); } if(alevel >= 3) { strcat(string, "LEVEL 3 COMMANDS\n"); strcat(string, "Commands here\n"); } if(alevel >= 4) { strcat(string, "LEVEL 4 COMMANDS\n"); strcat(string, "Commands here\n"); } if(alevel >= 5) { strcat(string, "LEVEL 5 COMMANDS\n"); strcat(string, "Commands here\n"); } if(alevel >= 6) { strcat(string, "LEVEL 6 COMMANDS\n"); strcat(string, "Commands here\n"); } if(alevel >= 7) { strcat(string, "LEVEL 7 COMMANDS\n"); strcat(string, "Commands here\n"); } if(alevel >= 8) { strcat(string, "LEVEL 8 COMMANDS\n"); strcat(string, "Commands here\n"); } return 1; }