21.07.2013, 22:30
apos voce setar os valores Tem que add a Sintaxe DOF2_SaveFile();
Exemplo
Exemplo
pawn Код:
{
SalvarPlayer(playerid) {
GetPlayerName(playerid, Nome, sizeof(Nome));
new String[50];
format(String, sizeof(String), CONTAS, Nome);
DOF2_SetInt(String, "Matou", Kills[playerid]);
DOF2_SetInt(String, "Morreu", Deaths[playerid]);
DOF2_SetInt(String, "Logou", Logou[playerid]);
DOF2_SetInt(String, "Score", GetPlayerScore(playerid));
DOF2_SetInt(String, "FightingStyle", GetPlayerFightingStyle(playerid));
DOF2_SetInt(String, "GP", GetPlayerReal(playerid));
DOF2_SetInt(String, "Dolar", GetPlayerMoney(playerid));
DOF2_SaveFile();// <<<<< isso aqui amigo
return 1;
}

