if(!IsPlayerConnected(killerid) || killerid == INVALID_PLAYER_ID || killerid == playerid){ return 0;}//etc.