PLEASE HELP!
#1

pawn Код:
CreateDialog(id,dialogid,stil,const bH[], const b[],const bg[], const bg2[], const eh[],const e[], const eg[], const eg2[])
{
     if(LANGUAGE[id] == 1) // balcan
     {
        ShowPlayerDialog(id,dialogid,stil,bH,b,bg,bg2);
        return true;
     }
     else if(LANGUAGE[id] == 2) // english
     {
        ShowPlayerDialog(id,dialogid,stil,eh,e,eg,eg2);
        return true;
     }
     return true;
}
and when i make this fnc

pawn Код:
CreateDialog(playerid, 2, DIALOG_STYLE_LIST,"WELCOME","engleski\nbalkan","Accept","Cancle","", "","","");
i get these errors

Код:
error 035: argument type mismatch (argument 4)
error 035: argument type mismatch (argument 4)
error lines:

pawn Код:
ShowPlayerDialog(id,dialogid,stil,bH,b,bg,bg2);
and

pawn Код:
ShowPlayerDialog(id,dialogid,stil,bH,b,bg,bg2);
Please help me i can't find problem
Reply


Messages In This Thread
argument type mismatch (argument 4) - by [H]265 - 15.05.2011, 17:28
Re: PLEASE HELP! - by [H]265 - 15.05.2011, 21:24
Re: PLEASE HELP! - by NRJ53 - 15.05.2011, 21:28
Re: PLEASE HELP! - by [H]265 - 15.05.2011, 21:39
Re: PLEASE HELP! - by NRJ53 - 15.05.2011, 21:49
Re: PLEASE HELP! - by [H]265 - 16.05.2011, 09:25

Forum Jump:


Users browsing this thread: 3 Guest(s)