Skip to content

CanSamSiteShoot

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void CanSamSiteShoot( SamSite instance )
{
    Puts( "CanSamSiteShoot works!" );
}

Location

  • SamSite::WeaponTick()
csharp
//---
		this.nextBurstTime = Time.time + timeBetweenBursts;
		this.firedCount = 0;
		return;
	}
	this.EnsureReloaded();
	if (Interface.CallHook("CanSamSiteShoot", this) != null)
	{
		return;
	}
	if (!this.HasAmmo())
	{
//---

Released under the MIT License.