10.10.2011, 20:25
The problem is that 'killerid' isn't always a playerid, sometimes it's INVALID_PLAYER_ID. You can't search an array for INVALID_PLAYER_ID without causing a script cease.
pawn Код:
if(killerid!=INVALID_PLAYER_ID)
{
//Code containing killerid
}else{
//player died of other causes
}