Get player who created fire from ammo/arrows?
Question:

A fire arrow and bullets generates fire. How in the OnEntityTakeDamage method to get the number of the player (steamID) that created this fire?

Goal 1: prevent the player from damaging the player with fire arrows and bullets.
Goal 2: allow the player to damage turrets with fire arrows and bullets.
Tell me at least the plugin where it is implemented or give a piece of code. That will be enough. Thanks.

example:
the https://umod.org/plugins/death-notes plugin does not contain steamID fire from arrows and incendiary cartridges


Merged post

No longer relevant. You can delete a question.