Dialog Box Command help
#3

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;
}
Reply


Messages In This Thread
A small help - by dopeboy1040 - 02.08.2017, 18:13
Re: Dialog Box Command help - by dopeboy1040 - 03.08.2017, 17:16
Re: Dialog Box Command help - by ShadowMortar - 03.08.2017, 19:57
Re: Dialog Box Command help - by Logic_ - 03.08.2017, 20:06
Re: Dialog Box Command help - by ShadowMortar - 03.08.2017, 20:30
Re: Dialog Box Command help - by dopeboy1040 - 04.08.2017, 10:12
Re: Dialog Box Command help - by dopeboy1040 - 04.08.2017, 11:29
Re: Dialog Box Command help - by 10MIN - 04.08.2017, 19:26
Re: Dialog Box Command help - by SubGames - 28.09.2017, 15:11

Forum Jump:


Users browsing this thread: 1 Guest(s)