14.06.2015, 20:24
Entгo o correto й:
PHP код:
SetarPlayer(playerid)
{
new String[70], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, 32);
format(String, 70, "Contas/%s.ini", name);
PlayerInfo[playerid][pScore] = DOF2_GetInt(String,"Level");
PlayerInfo[playerid][pDinheiro] = DOF2_GetInt(String,"Dinheiro");
PlayerInfo[playerid][pLogou] = DOF2_GetInt(String, "Logou");
PlayerInfo[playerid][pMatou] = DOF2_GetInt(String, "Matou");
PlayerInfo[playerid][pMorreu] = DOF2_GetInt(String, "Morreu");
SetPlayerScore(playerid, PlayerInfo[playerid][pScore]);
GivePlayerMoney(playerid, PlayerInfo[playerid][pDinheiro]);
return 1;
}

