23.09.2012, 10:07
pawn Код:
new KS[MAX_PLAYERS];
public OnPlayerDeath(playerid,killerid,reason)
{
KS[killerid]++;
KS[playerid] = 0;
return 1;
}
stock SaveKS(playerid) // Use this when the player disconnected or where ever you use it!
{
INI_WriteInt(file dest,"Killstreak",KS);
INI_Close(File);
return 1;
}