22.08.2012, 12:55
Quote:
Blood, I think it should be if(IsPlayerConnected(killerid)), instead of playerid. But that isn't really important.
______________________________ Now on topic, OnPlayerDeath has another parameter, reason, I'm pretty sure you noticed it. You can see the reasons here. Also take a look to SendDeathMessage and OnPlayerDeath. In the wiki says: "if killerid was INVALID_PLAYER_ID the player killed themselves (i.e. falling)" Probably, this isn't the answer which you want, but give a try. |