Why This Happen,Help Me To Fix It
#1

Hello,

here is my code
Код:
 if(PlayerInfo[playerid][Level] >= 1)
	{
	new CommandList[2000] = "%s";
		new a;
		new Commands[][] =	{
		" \n%s",
        "{00FF40} Admin Level 1 Commands\n{DADADA}%s",
		"/acl\t:    report a player\n%s",
		"/afk\t:     To know all ranks\n%s",
		"/setmytime\t:      To suicide yourself\n%s",
		"/ip\t:    see all connected admins\n%s",
		"/acmds\t:    see all online donors\n%s",
		"/getinfo\t:        To send private message\n%s",
		"/level1\t:         To reply a pm\n%s",
		"/vr\t:      For server help\n%s",
		"/ltune\t\t:  See your current stats\n%s",
		"/lnos\t\n%s",
		"/lhy\t: to duel with players\n%s",
		"/god\t: for first person mode\n%s",
		"/godcar\t: to stop first person mode\n%s",
		"/asay\t:      To order teammates\n%s",
		"/lslowno\t:   To see the richest one online\n%s",
		"/ltc\t\t:     Change your team\n%s",
		"/jetpack\t\t:     Change your class\n%s",
		"/warn\t\t:     For emergency parachute",
		"/kick\t\t:     Change your class\n%s",
		"/jail\t\t:     Change your class\n%s",
		"/unjail\t\t:     Change your class\n%s",
		"/weaps\t\t:     Change your class\n%s",
		"/adminduty\t\t:     Change your class\n%s",
		"/morning\t\t:     Change your class\n%s",
		"/adminarea\t\t:     Change your class\n%s",
		"/reports\t\t:     Change your class\n%s",
		"/miniguns\t\t:     Change your class\n%s",
		"/hseeks\t\t:     Change your class\n%s",
		"/lspec\t\t:     Change your class\n%s",
		"/lsv\t\t:     Change your class\n%s",
		"/lspecoff\t\t:     Change your class\n%s",
		"/sv\t\t:     Change your class\n%s",
		"/dv\t\t:     Change your class\n%s",
		"/gotoplace\t\t:     Change your class\n%s",
		"/saveplace\t\t:     Change your class\n%s",
		"/saveskin\t\t:     Change your class\n%s",
		"/useskin\t\t:     Change your class\n%s",
		"/dontuseskin\t\t:     Change your class\n%s",
		"/ltunedcar2\t\t:     Change your class\n%s",
		"/lp\t\t:     Change your class\n%s"
 

		};

		a = sizeof(Commands);
		for(new i = 0; i<a; i++)
		{
			format(CommandList, sizeof(CommandList), CommandList, Commands[i]);
		}

	    format(CommandList, sizeof(CommandList), CommandList, "");

  		ShowPlayerDialog(playerid,51, DIALOG_STYLE_MSGBOX, "{FFFF00}COD", CommandList, "close", "");
		  }
		return 1;
	}
I Have a problem that it just does not show full cmds it only shows to warn command.please help me to show full cmds
Reply
#2

You seem to be missing
Код:
\n%s
off the end of that warn line.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)