22.09.2018, 19:05
Reason is an integer you were printing a string.
You need to check if the player died by fall/fire/drown etc aka killerid = INVALID_PLAYER_ID.
Otherwise if player died by a weapon just get the weapon name.
You need to check if the player died by fall/fire/drown etc aka killerid = INVALID_PLAYER_ID.
Otherwise if player died by a weapon just get the weapon name.