08.11.2011, 18:21
im loading the players password as a string and trying to show it on a Dialog
like this
The problem is that the loaded string does even show :X
this is what it shows
do i need to format the loaded string into something else ?
like this
pawn Код:
new password[20+1];
INI_ParseFile(file, "PlayerPassword", false, true, playerid, true, false );
GetPVarString(playerid, "Password", password, sizeof password);
new Str[400];format(Str,sizeof(Str),"Pass |%s|",password);
ShowPlayerDialog(playerid, SQLogin, DIALOG_STYLE_INPUT, "Your Pass", Str, "Ok", "");
this is what it shows
Код:
Pass ||