I try to use OnEntityDeath or OnEntityTakeDamage to my plugin, but this hooks don't catch trees.
OnEntityKill work properly, but it don't have information about who kill, and I need to know.
About my plugin: is for add some realism to Rust. When player is cut the tree, plugin create dead log.
Problem: when admin/server destroys a tree, it captures the OnEntityKill trigger and we don't know who it kills the player or the server.
OnEntityKill work properly, but it don't have information about who kill, and I need to know.
About my plugin: is for add some realism to Rust. When player is cut the tree, plugin create dead log.
Problem: when admin/server destroys a tree, it captures the OnEntityKill trigger and we don't know who it kills the player or the server.