01.10.2011, 11:18
You're doing something wrong
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 Код:
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));
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");