13.05.2013, 02:56
pawn Код:
enum pStats{
Money,
Level,
Admin,
Password[128],
}
new PlayerStats[MAX_PLAYERS][pStats],Car[MAX_PLAYERS];
pawn Код:
forward LoadAccount(playerid);
public LoadAccount(playerid)
{
new Player[MAX_PLAYER_NAME],File[128];
GetPlayerName(playerid, Player, sizeof(Player) );
format(File,sizeof(File),"\\Accounts\\%s.ini", Player);
PlayerStats[playerid][Password] = dini_Get(File,"Password");
return 1;
}
Код:
../NGZ/Functions.pwn(143) : error 047: array sizes do not match, or destination array is too small