15.02.2014, 08:02
pawn Код:
[debug] #0 native fwrite () [00405710] from samp-server.exe
pawn Код:
if(dini_Exists(file))
{
new Float:health;
GetPlayerHealth(i, health);
dini_IntSet(file, "Matou", matou[i]);
dini_IntSet(file, "Morreu", morreu[i]);
if(dini_Int(file, "usoudroga") == 1)
{
SetPlayerHealth(i, health-2);
}
if(dini_Int(file, "Level") > MAX_PLAYER_LEVEL-1)
{
dini_IntSet(file, "Level", MAX_PLAYER_LEVEL);
}
if(dini_Int(file, "Faculdade") > MAX_PLAYER_ESTUDO-1)
{
dini_IntSet(file, "Faculdade", MAX_PLAYER_ESTUDO);
}
if(pAdmin[i] > 0)
{
dini_IntSet(file, "Admin", pAdmin[i]);
}
if(pMod[i] > 0)
{
dini_IntSet(file, "Moderadortd", pMod[i]);
}
}
}
}