Weapon (30)
All currently available hooks that are found in Carbon. Most hooks would be ones compatible with Oxide, although there are Carbon-only ones as well.
Last updated
All currently available hooks that are found in Carbon. Most hooks would be ones compatible with Oxide, although there are Carbon-only ones as well.
Last updated
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BaseHelicopter.IsValidHomingTarget of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches CH47Helicopter.IsValidHomingTarget of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches PlayerHelicopter.IsValidHomingTarget of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches PatrolHelicopter.IsValidHomingTarget of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches AttackHeliPilotFlare.IsValidHomingTarget of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches RoadFlare.IsValidHomingTarget of Assembly-CSharp.dll.
Called when the item creates a projectile in the world.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BasePlayer.CreateWorldProjectile of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches LiquidWeapon.CanFire of Assembly-CSharp.dll.
Called when the player starts to switch the ammo in a weapon.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BaseProjectile.SwitchAmmoTo of Assembly-CSharp.dll.
Called when a player is trying to unload ammo.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BaseProjectile.UnloadAmmo of Assembly-CSharp.dll.
Called when the player drops an explosive item (C4, grenade, ...).
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches ThrownWeapon.DoDrop of Assembly-CSharp.dll.
Called when explosive tries to become dud.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches DudTimedExplosive.Explode of Assembly-CSharp.dll.
Called when a fuse of an explosive is set.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches TimedExplosive.SetFuse of Assembly-CSharp.dll.
Called when the player throws an explosive item (C4, grenade, ...).
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches ThrownWeapon.DoThrow of Assembly-CSharp.dll.
Called when a fire ball does damage to another entity.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches FireBall.DoRadialDamage of Assembly-CSharp.dll.
Called when a fire ball fire spreads.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches FireBall.TryToSpread of Assembly-CSharp.dll.
Called when a flame explodes.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches FlameExplosive.FlameExplode of Assembly-CSharp.dll.
Called when the burn from a flame thrower spreads.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches FlameThrower.FlameTick of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches server.ImpactEffect of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches LiquidWeapon.StartFiring of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches LiquidWeapon.StopFiring of Assembly-CSharp.dll.
Called when the player reloads a magazine.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BaseProjectile.TryReloadMagazine of Assembly-CSharp.dll.
Called when the player throws a melee item (axe, rock, ...).
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BaseMelee.CLProject of Assembly-CSharp.dll.
Called when a player's weapon projectile ricochets.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BasePlayer.OnProjectileRicochet of Assembly-CSharp.dll.
Called when the player launches a rocket.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BaseLauncher.SV_Launch of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches TimedExplosive.Explode of Assembly-CSharp.dll.
Called when the player fires a weapon.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BaseProjectile.CLProject of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BaseProjectile.DelayedModsChanged of Assembly-CSharp.dll.
Called when the player reloads a weapon.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BaseProjectile.StartReload of Assembly-CSharp.dll.
Called when a projectile is created.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BasePlayer.CreateWorldProjectile of Assembly-CSharp.dll.
This hook requires CanCreateWorldProjectile, which loads alongside OnWorldProjectileCreate.