Return_CMD unknown warnings
#3

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG_WEAPONS)
    {
        if(response) // If they clicked 'Select' or double-clicked a weapon
        {
            // Give them the weapon
            switch(listitem)
            {
                case 0: cmd_sf(playerid, "");
                case 1: cmd_lv(playerid, "");
                case 2: cmd_ls(playerid, "");
                case 3: cmd_sfa(playerid, "");
                case 4: cmd_lva(playerid, "");
                case 5: cmd_lsa(playerid, "");
                case 6: cmd_aa(playerid, "");
                case 7: cmd_beach(playerid, "");
                case 8: cmd_drift1(playerid, "");
                case 9: cmd_4dragons(playerid, "");
                case 10: cmd_lvtune(playerid, "");
                case 11: cmd_sftune(playerid, "");
                case 12: cmd_mc(playerid, "");
                case 13: cmd_arch(playerid, "");
                case 14: cmd_loco(playerid, "");
                case 15: cmd_doherty(playerid, "");
            }
        }
        return 1; // We handled a dialog, so return 1. Just like OnPlayerCommandText.
    }

    return 0; // You MUST return 0 here! Just like OnPlayerCommandText.
}
giving more error

Код:
C:\Documents and Settings\All Users\Desktop\NRG New Evolution\Main Gamemode\Stable Version\gamemodes\ngcgm.pwn(3853) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\All Users\Desktop\NRG New Evolution\Main Gamemode\Stable Version\gamemodes\ngcgm.pwn(3854) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\All Users\Desktop\NRG New Evolution\Main Gamemode\Stable Version\gamemodes\ngcgm.pwn(3855) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\All Users\Desktop\NRG New Evolution\Main Gamemode\Stable Version\gamemodes\ngcgm.pwn(3857) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\All Users\Desktop\NRG New Evolution\Main Gamemode\Stable Version\gamemodes\ngcgm.pwn(3858) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\All Users\Desktop\NRG New Evolution\Main Gamemode\Stable Version\gamemodes\ngcgm.pwn(3859) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\All Users\Desktop\NRG New Evolution\Main Gamemode\Stable Version\gamemodes\ngcgm.pwn(3860) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\All Users\Desktop\NRG New Evolution\Main Gamemode\Stable Version\gamemodes\ngcgm.pwn(3861) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\All Users\Desktop\NRG New Evolution\Main Gamemode\Stable Version\gamemodes\ngcgm.pwn(3862) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\All Users\Desktop\NRG New Evolution\Main Gamemode\Stable Version\gamemodes\ngcgm.pwn(3863) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\All Users\Desktop\NRG New Evolution\Main Gamemode\Stable Version\gamemodes\ngcgm.pwn(3864) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\All Users\Desktop\NRG New Evolution\Main Gamemode\Stable Version\gamemodes\ngcgm.pwn(3866) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\All Users\Desktop\NRG New Evolution\Main Gamemode\Stable Version\gamemodes\ngcgm.pwn(3867) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\All Users\Desktop\NRG New Evolution\Main Gamemode\Stable Version\gamemodes\ngcgm.pwn(3868) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


14 Errors.
Reply


Messages In This Thread
Return_CMD unknown warnings - by donhu789 - 03.09.2016, 09:43
Re: Return_CMD unknown warnings - by jlalt - 03.09.2016, 09:47
Re: Return_CMD unknown warnings - by donhu789 - 03.09.2016, 09:53
Re: Return_CMD unknown warnings - by GoldenLion - 03.09.2016, 10:46
Re: Return_CMD unknown warnings - by donhu789 - 03.09.2016, 10:50
Re: Return_CMD unknown warnings - by TORKQ - 03.09.2016, 11:03
Re: Return_CMD unknown warnings - by donhu789 - 03.09.2016, 11:10
Re: Return_CMD unknown warnings - by Shinja - 03.09.2016, 11:41
Re: Return_CMD unknown warnings - by Stinged - 03.09.2016, 11:45
Re: Return_CMD unknown warnings - by SoLetsGO - 03.09.2016, 12:06

Forum Jump:


Users browsing this thread: 1 Guest(s)