16.08.2010, 16:32 
	
	
	pawn Код:
if(newkeys == KEY_FIRE || newkeys == KEY_SECONDARY_FIRE)
{
SetPVarInt(playerid, "Shot", GetPVarInt(playerid, "Shot")-1);
new file[50], name[20], str[50];
GetPlayerName(playerid, name, 20);
format(file, sizeof(file),"users/%s.ini", name);
new File:account = fwrite(file, io_append);
if(account)
{
format(str, 50, "Shots: %d", GetPVarInt(playerid, "Shot"));
{ fwrite(account, str); }
fclose(account);
}
}



