Hello, i'm a Unity3D client side developer, and i want to get into oxide script developing.
I want to create a simple plugin so i can start with an easy project.
Is there any hook when a player is killed, does it have discrimination of pvp, pve, other?... Thank you.
Solved OnPlayerKilled hook?
Discussion in 'Hurtworld Development' started by Almathros, Dec 16, 2015.
-
I'm not a developer, but as far as I know all the kills are not divided on pvp, pve and etc. If I'm wrong, please correct me.
-
Wulf Community Admin
There's currently no hook for when a player is killed, but even with it added, you'd have to handle the pvp, pve, etc. with your plugin.
-
With the last patch this appears: OnDeathNotice(string name, EntityEffectSourceData source)
And you can access this with "source.SourceDescriptionKey" -
Wulf Community Admin