Help Me Error And Warnings
#4

Ok, one bracket and again return 1;, you have double "15".
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(response)
    {
        switch(dialogid)
        {
            case 1: // dialog id
            {
                switch(listitem)
                {
                    case 0:SetPlayerColor(playerid, 0xFF0000);
                    case 1:SetPlayerColor(playerid, 0x00FFFF);
                    case 2:SetPlayerColor(playerid, 0x0000FF);
                    case 3:SetPlayerColor(playerid, 0x0000A0);
                    case 4:SetPlayerColor(playerid, 0xADD8E6);
                    case 5:SetPlayerColor(playerid, 0x800080);
                    case 6:SetPlayerColor(playerid, 0xFFFF00);
                    case 7:SetPlayerColor(playerid, 0x00FF00);
                    case 8:SetPlayerColor(playerid, 0xFF00FF);
                    case 9:SetPlayerColor(playerid, 0xFFFFFF);
                    case 10:SetPlayerColor(playerid, 0xC0C0C0);
                    case 11:SetPlayerColor(playerid, 0x808080);
                    case 12:SetPlayerColor(playerid, 0x000000);
                    case 13:SetPlayerColor(playerid, 0xFFA500);
                    case 14:SetPlayerColor(playerid, 0x800000);
                    case 15:SetPlayerColor(playerid, 0x008000);
                    case 16:SetPlayerColor(playerid, 0x808000);
                }
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
Help Me Error And Warnings - by Team_PRO - 14.11.2012, 08:19
Re: Help Me Error And Warnings - by Konstantinos - 14.11.2012, 08:38
Re: Help Me Error And Warnings - by Team_PRO - 14.11.2012, 08:47
Re: Help Me Error And Warnings - by Konstantinos - 14.11.2012, 08:54
Re: Help Me Error And Warnings - by Team_PRO - 14.11.2012, 09:00

Forum Jump:


Users browsing this thread: 1 Guest(s)