#1

hello, im trying to do a list of all commands as a dialogmsgbox, but i got this error: error 075: input line too long (after substitutions) at line 93.

here's the code:
Quote:

new acmd[] =
"\
\n{FFFFFF}/startarena\t\t{AFAFAF}Start a arena\
\n{FFFFFF}/startbase\t\t{AFAFAF}Start a base\n{FFFFFF}/end\t\t{AFAFAF}End a round\
\n{FFFFFF}/aswap\t\t{AFAFAF}Change player's team\n{FFFFFF}/swap\t\t{AFAFAF}Swap teams around\
\n{FFFFFF}/lobbyhp\t\t{AFAFAF}Set lobby hp\n{FFFFFF}/roundhp\t\t{AFAFAF}Set round hp\n{FFFFFF}\/roundap\t\t{AFAFAF}Set round armour\
\n{FFFFFF}/readd\t\t{AFAFAF}Re-add player to round\n{FFFFFF}/add\t\t{AFAFAF}Add player to round\ -- 93 line
\n{FFFFFF}/weather\t\t{AFAFAF}Set servers weather\n{FFFFFF}/roundtime\t\t{AFAFAF}Set round time\n{FFFFFF}/maxrounds\t\t{AFAFAF}Set max rounds to play\
\n{FFFFFF}/restore\t\t{AFAFAF}Restore players hp and ap\n{FFFFFF}/aw\t\t{AFAFAF}Show weapon menu for player\
\n{FFFFFF}/ahp\t\t{AFAFAF}Set hp for player\n{FFFFFF}/aap\t\t{AFAFAF}Set armour for player\
\n{FFFFFF}/grenades\t\t{AFAFAF}disable/enable grenades\n{FFFFFF}/remove\t\t{AFAFAF}Remove player from round\
\n{FFFFFF}/respawn\t\t{AFAFAF}Respawn all players\n{FFFFFF}/cp\t\t{AFAFAF}disable/enable checkpoint\n{FFFFFF}/cw\t\t{AFAFAF}disable/enable cw mode\
\n{FFFFFF}/resetscore\t\t{AFAFAF}Resets team score\n{FFFFFF}/anticbug\t\t{AFAFAF}disable/enable anticbug\n{FFFFFF}/autoswap\t\t{AFAFAF}disable/enable autoswap\
\n{FFFFFF}/lock\t\t{AFAFAF}lock/unlock the server\n{FFFFFF}/pause\t\t{AFAFAF}Pause the round\n{FFFFFF}/resetscores\t\t{AFAFAF}Resets all player scores\
\n{FFFFFF}/setgname\t\t{AFAFAF}Set grove name\
\n{FFFFFF}/setbname\t\t{AFAFAF}Set balla name\n{FFFFFF}/setgscore\t\t{AFAFAF}Set grove score\
\n{FFFFFF}/setbnscore\t\t{AFAFAF}Set balla score\n{FFFFFF}/setgskin\t\t{AFAFAF}Set grove skin\n{FFFFFF}/setbskin\t\t{AFAFAF}Set balla skin\
\n{FFFFFF}/asub\t\t{AFAFAF}disable/enable player sub status";

i hope someone will help me
Reply
#2

Код HTML:
	if(strcmp(cmd, "/example", true) == 0)
	{
		{
	    	new BigString1[1000];
	    	strcat(BigString1, "\t{0011FF}your text here!\n", 1000 );
	    	strcat(BigString1, "\t{FFFFFF}your text here! \n", 1000 );
	    	strcat(BigString1, "\t{FFFFFF}your text here!", 1000 );
	    	strcat(BigString1, "\t{FFFFFF}your text here!\n", 1000 );
	    	strcat(BigString1, "\t{FFFFFF}your text here!\n", 1000 );
                strcat(BigString1, "\t{FFFFFF}you can add more lines like this line ^^!\n", 1000 );
	    	ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "{FFFFFF}Example/Example {FFFFFF}[Credits]", BigString1, "OK","");
		}
		return 1;
	}
Reply
#3

^thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)