Smiley face as first character in a string.
#1

pawn Код:
new GotPass[64];
        format(GotPass,sizeof(GotPass),"%s",GetPassword(playerid) );
pawn Код:
forward GetPassword(playerid);
public GetPassword(playerid)
{
    new Player[MAX_PLAYER_NAME],File[45];
    GetPlayerName(playerid, Player, sizeof(Player) );
    format(File,sizeof(File),"Accounts/%s.ini", Player);
    strcpy(PlayerStats[playerid][Password], dini_Get(File,"Password"), 128);
    return 1;
}

pawn Код:
[18:27:24] sdef
[18:27:24] asdef
[18:27:27] sdef
[18:27:27] asdef
[18:27:28] sdef
[18:27:28] asdef
[18:27:29] sdef
[18:27:29] asdef
Top line with the face is GetPassword, inside the file.ini there's no face though. bottom line is the printed inputtext from the dialog.
Reply


Messages In This Thread
Smiley face as first character in a string. - by Hoborific - 13.05.2013, 09:44
Re: Smiley face as first character in a string. - by Vince - 13.05.2013, 13:06
Re: Smiley face as first character in a string. - by Hoborific - 13.05.2013, 14:59
Re: Smiley face as first character in a string. - by MP2 - 13.05.2013, 15:37
Re: Smiley face as first character in a string. - by Hoborific - 13.05.2013, 16:23

Forum Jump:


Users browsing this thread: 1 Guest(s)