27.10.2018, 10:38
When a player commits suicide the 'killerid' becomes equal to INVALID_PLAYER_ID.
Put this inside 'OnPlayerDeath' callback.
Put this inside 'OnPlayerDeath' callback.
Код:
if(killerid==INVALID_PLAYER_ID) { //Tell the player about suicide }