12.05.2018, 14:10
You don't get it buddy, spare yourself the torture, replace all of the if(lasthit[ != invalid_player_id) with killerid like if(killerid != INVALID_PLAYER_ID)
this is never going to be accurate (because of the kill shot) and moreover WHY ARE U DOING IT IN THE FIRST PLACE you know? cuz the last hit is already caught by the system and stored in the killerid param in the OnPlayerDeath callback so why why why?
this is never going to be accurate (because of the kill shot) and moreover WHY ARE U DOING IT IN THE FIRST PLACE you know? cuz the last hit is already caught by the system and stored in the killerid param in the OnPlayerDeath callback so why why why?