30.09.2014, 05:09
Well you want to do you foreach() loop in OnPlayerDisconnect() actually also you don't if(!IsPlayerConnected(i)) when using foreach. Also this assignment is incorrect.
But it also looks like your revenge system is not what I expected so you might have to explain a bit more.
pawn Код:
killerid = pKiller[playerid];
//should be
pKiller[playerid] = killerid;