01.04.2013, 20:35
Esto
Debe ir en onplayerdisconnect o en OnPlayerdeath
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(isLogged[i] == 1)
{
new name[256],check[256];
Delete3DTextLabel(levl[i]);
Delete3DTextLabel(admlabl[i]);
GetPlayerName(i, name, sizeof(name));
format(check, sizeof(check), "%s.ini", name);
dini_IntSet(check,"kills", Kills[i]);
dini_IntSet(check,"Deaths", Deaths[i]);
dini_IntSet(check,"money", GetPlayerMoney(i));
dini_IntSet(check,"level", Level[i]);
dini_IntSet(check,"admin", Admin[i]);
dini_IntSet(check,"Phabilidad", Phabilidad[i]);
}
}