13.05.2013, 09:44
(
Последний раз редактировалось Hoborific; 13.05.2013 в 10:27.
)
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