29.03.2009, 12:35 
	
	
	
		is it rly so hard to add new string[64]; 
	
	
	
	

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
GetPlayerName(playerid, savedNames[savePos], MAX_PLAYER_NAME);
savedInfo[savePos][0] = bounty[playerid];
savedInfo[savePos][1] = 0;
for(new i; i < MAX_WEAPONS; i++)
playerWeapons[playerid][i] = 0,
savedWeapons[savePos][i] = playerWeapons[playerid][i];
new Reasons[][] = { "Timeout", "Leaving", "Kicked" }, string[64];
format(string,sizeof(string), "* %s left the server. (%s) (ID:%d).", savedNames[savePos], Reasons[reason], playerid);
SendClientMessageToAll(COLOR_DIS_RED, string);
if(++savePos >= MAX_SAVE) savePos = 0;
MiniAntiSpamCount[playerid] = 0;
bounty[playerid] = 0;
return true;
}


