How can I increase fuse time of the timed explosive charge? any idea
Thanks,
Solved Timed Explosive fuse time
Discussion in 'Rust Development' started by Burak 2, Jul 27, 2018.
-
I haven't tested this code, but I believe something like this will work:
Code:void OnExplosiveThrown(BasePlayer player, BaseEntity entity) { var c4 = entity as TimedExplosive; if (c4 == null) return; c4.timerAmountMin = 20; c4.timerAmountMax = 20; }
-
Code:
c4.SetFuse(float.MaxValue);