Dialog help please?
#1

Hi, i have created this dialog i am currently learning Dialog and this warning gave me but i don't have a clue in how to fix it here is my dialog and my OnDialogResponse

pawn Код:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Welcome to Profound Gaming's Paradise Island!\n To insure you have a nice time you need to accept some rules first\nHacking or Cheating = BAN\nAbusing bugs / glitches = BAN\nDo not ask admins for vehicles.\nNever ask for admin or promotion.\nYou are allowed to have 1 car of 1 model\nSpawnkilling or any other unfair killing is not allowed.\nShow respect to all admins and players\n For more rules type /rules","Agree","DisAgree");
Here is my OnDialogResponse
pawn Код:
if(dialogid == 1)
    {
        new stringg[599];
        if(response == 1)
        {
                switch(listitem)
                {
                    case 0:
                    {

                    }
                    case 1:
                    {
                    Kick(playerid);
                    SendClientMessage(playerid,green,"You DisAgreed to the rules so you therfore got kicked. Goodbye!");
                    new nome[24];
                    GetPlayerName(playerid, nome, 24);
                    format(stringg, sizeof(stringg), "** {FFFFFF}%s{00BFFF} has been kicked from the Server. [Reason: {FFFFFF}Disagreed to the rules{00BFFF}]", nome);
                    }


                }

        }
    }
And Here is my Warning
Код:
 warning 202: number of arguments does not match definition
The Warning is on the line of the dialog itself.

Thanks
Reply


Messages In This Thread
Dialog help please? - by Tass007 - 10.11.2012, 08:37
Re: Dialog help please? - by JaKe Elite - 10.11.2012, 08:39
Re: Dialog help please? - by Mmartin - 10.11.2012, 08:40
Re: Dialog help please? - by Tass007 - 10.11.2012, 08:47

Forum Jump:


Users browsing this thread: 1 Guest(s)