number of arguments does not match definition
#4

You're doing something wrong

pawn Код:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Login","Welcome back to***HIDDEN***, %s .\n\nThat name is registered. please enter your password below.","Login","Quit",PlayerName(playerid));
Wrong is PlayerName(playerid).Why?Well,PAWN reads that as an argument,and ShowPlayerDialog has only 7 arguments not 8(the 8th being PlayerName(playerid));

Just do:

pawn Код:
new dialogmessage[120];
    format(dialogmessage,sizeof(dialogmessage),"Welcome back to***HIDDEN***, %s .\n\nThat name is registered. please enter your password below.",PlayerName(playerid));
   ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Login",dialogmessage,"Login","Quit");
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)