Using "Player.Hurt()" I can't seem to set DamageType.Suicide or Rust.DamageType.Suicide; it doesn't exist at all yet it expects the parameter.
Using the latest Oxide 2, what's the new alternative to DamageType.Suicide or what am I using in place of this?
DamageType not found/existing
Discussion in 'Rust Development' started by [FPSPlayers]Colin M, May 18, 2015.
-
Wulf Community Admin
I'd recommend digging into the decompiled Assembly-CSharp.dll using a tool such as JustDecompile and looking through those functions.
-
Isn't the source for that on Github already decompiled?
-
Wulf Community Admin
Oxide source is not the same as Rust's source. Most of the functions are from Rust itself. Oxide provides the means, but the majority of functions and methods live in each game. -
Will check that out and see what other functions I can come up with or find; cheers Wulf
![[FPSPlayers]Colin M](/assets/styles/oxide/logo.og.png)