errors when compiling
#1

Hello,

I got some ERRORS but I don't really know how solve them or because of what

Код:
#include <a_samp>

public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/help", cmdtext, true, 10) == 0)
	{
	 	ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "HELP MENU", "list1\nlist2\nlist3\nlist4\nlist5\nlist6\nlist7\nlist8\nlist9\nlist10\nlist11\nlist12\nlist13\nlist14 ", "Choose", "Exit");
		return 1;
	}
	return 0;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == 1) // Menu Help Dialog
	{
		if(!response) return SendClientMessage(playerid, 0xFFFFFFAA, "Menu exited");
		switch(listitem)
		{
	        case 0: // General Help
	        {
                    new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
			}
   			case 1: // Account Help
	        {
                    new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
			}
   			case 2: // Information
	        {
         			new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
			}
   			case 3:
	        {
         			new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
			}
   			case 4:
	        {
         			new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
			}
   			case 5:
	        {
         			new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
			}
   			case 6:
	        {
				new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
			}
			case 7:
			{
				new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
			}
			case 8:
			{
				new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
			}
			case 9:
			{
				new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
			}
			case 10:
			{
				new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
			}
			case 11:
			{
				new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
			}
			case 11;
			{
				new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
			}
			case 12;
			{
				new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
			}				
			case 13;
			{
				new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
			}
			
			case 14;
			{
         			new pDialog[555];
                    strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                    strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
                    strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
                    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
                    return 1;
		   	}
		}
	}
	return 1;
}
And I get these errors

Quote:

E:\Menu source code\jlat.pwn(119) : warning 217: loose indentation
E:\Menu source code\jlat.pwn(135) : warning 217: loose indentation
E:\Menu source code\jlat.pwn(151) : warning 217: loose indentation
E:\Menu source code\jlat.pwn(167) : warning 217: loose indentation
E:\Menu source code\jlat.pwn(183) : warning 217: loose indentation
E:\Menu source code\jlat.pwn(199) : warning 217: loose indentation
E:\Menu source code\jlat.pwn(212) : error 040: duplicate "case" label (value 11)
E:\Menu source code\jlat.pwn(212) : error 036: empty statement
E:\Menu source code\jlat.pwn(215) : warning 217: loose indentation
E:\Menu source code\jlat.pwn(22 : warning 217: loose indentation
E:\Menu source code\jlat.pwn(22 : error 014: invalid statement; not in switch
E:\Menu source code\jlat.pwn(22 : warning 215: expression has no effect
E:\Menu source code\jlat.pwn(231) : warning 217: loose indentation
E:\Menu source code\jlat.pwn(244) : warning 225: unreachable code
E:\Menu source code\jlat.pwn(244) : error 014: invalid statement; not in switch
E:\Menu source code\jlat.pwn(244) : warning 215: expression has no effect
E:\Menu source code\jlat.pwn(247) : warning 217: loose indentation
E:\Menu source code\jlat.pwn(261) : warning 225: unreachable code
E:\Menu source code\jlat.pwn(261) : error 014: invalid statement; not in switch
E:\Menu source code\jlat.pwn(261) : warning 215: expression has no effect
E:\Menu source code\jlat.pwn(27 : error 054: unmatched closing brace ("}")
E:\Menu source code\jlat.pwn(279) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
7 Errors.

I thank you to help me
Reply
#2

first of all change with this:

PHP код:
#include <a_samp>
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/help"cmdtexttrue10) == 0)
    {
         
ShowPlayerDialog(playerid1DIALOG_STYLE_LIST"HELP MENU""list1\nlist2\nlist3\nlist4\nlist5\nlist6\nlist7\nlist8\nlist9\nlist10\nlist11\nlist12\nlist13\nlist14 ""Choose""Exit");
        return 
1;
    }
    return 
0;
}
public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == 1// Menu Help Dialog
    
{
        if(!
response) return SendClientMessage(playerid0xFFFFFFAA"Menu exited");
        switch(
listitem)
        {
            case 
0// General Help
            
{
                new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
            }
               case 
1// Account Help
            
{
                new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
            }
               case 
2// Information
            
{
                 new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
            }
               case 
3:
            {
                 new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
            }
               case 
4:
            {
                 new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
            }
               case 
5:
            {
                 new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
            }
               case 
6:
            {
                new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
            }
            case 
7:
            {
                new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
            }
            case 
8:
            {
                new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
            }
            case 
9:
            {
                new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
            }
            case 
10:
            {
                new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
            }
            case 
11:
            {
                new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
            }
            case 
11;
            {
                new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
            }
            case 
12;
            {
                new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
            }                
            case 
13;
            {
                new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
            }
            
            case 
14;
            {
                 new 
pDialog[555];
                
strcat(pDialog"{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
                
strcat(pDialog"{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}1. {FFFFFF}You are not allowed to spam.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}2. {FFFFFF}You are not allowed to advertise.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}5. {FFFFFF}You are not allowed to insult others.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n"sizeof(pDialog));
                
strcat(pDialog"{33AA33}/yaddayaddayadda {FFFFFF}for more information!"sizeof(pDialog));
                
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"{0000BB}My Super Rules"pDialog"OK""Cancel");
                return 
1;
               }
        }
    }
    return 
1;

and give us the errors left with a // near the lines with the errors
Reply
#3

try this
Quote:

#include <a_samp>

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "HELP MENU", "list1\nlist2\nlist3\nlist4\nlist5\nlist6\nlist7\n list8\nlist9\nlist10\nlist11\nlist12\nlist13\nlist 14 ", "Choose", "Exit");
return 1;
}
return 0;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1) // Menu Help Dialog
{
if(!response) return SendClientMessage(playerid, 0xFFFFFFAA, "Menu exited");
switch(listitem)
{
case 0: // General Help
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 1: // Account Help
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 2: // Information
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 3:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 4:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 5:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 6:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 7:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 8:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 9:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 10:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 11:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 12:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 13:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 14:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}

case 15:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
}

Reply
#4

@Andre02 I have put the script, and try to compiling (same errors)

@ZToPMaN By trying the compiling, what you give me, I just have an error:

Quote:

E:\Menu source code\a.pwn(279) : error 030: compound statement not closed at the end of file (started at line 17)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


Reply
#5

try this
:
#include <a_samp>

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "HELP MENU", "list1\nlist2\nlist3\nlist4\nlist5\nlist6\nlist7\n list8\nlist9\nlist10\nlist11\nlist12\nlist13\nlist 14 ", "Choose", "Exit");
return 1;
}
return 0;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1) // Menu Help Dialog
{
if(!response) return SendClientMessage(playerid, 0xFFFFFFAA, "Menu exited");
switch(listitem)
{
case 0: // General Help
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 1: // Account Help
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 2: // Information
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 3:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 4:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 5:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 6:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 7:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 8:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 9:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 10:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 11:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 12:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 13:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
case 14:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}

case 15:
{
new pDialog[555];
strcat(pDialog, "{FFFFFF}Hi, and welcome to my {FF0000}super duper awesome {FFFFFF}server!\n");
strcat(pDialog, "{FFFFFF}Here are some {FF0000}rules {FFFFFF}that you should respect:\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}1. {FFFFFF}You are not allowed to spam.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}2. {FFFFFF}You are not allowed to advertise.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}3. {FFFFFF}You are not allowed to cheat/hack.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}4. {FFFFFF}You are not allowed to spawnkill.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}5. {FFFFFF}You are not allowed to insult others.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}6. {FFFFFF}You are not allowed to beg for admin.\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}There are special rules for {33AA33}VIPs{FFFFFF}! Please check\n", sizeof(pDialog));
strcat(pDialog, "{33AA33}/yaddayaddayadda {FFFFFF}for more information!", sizeof(pDialog));
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0000BB}My Super Rules", pDialog, "OK", "Cancel");
return 1;
}
}
}
return 1;
}
Reply
#6

Indeed, thank you very much. The script can now be compiling
Reply
#7

You are welcome, pro.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)