Skip to content

OnPoweredLightsPointAdd

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnPoweredLightsPointAdd( PoweredLightsDeployer instance, BasePlayer player, Vector3 vector, Vector3 vector2 )
{
    Puts( "OnPoweredLightsPointAdd works!" );
}

Location

  • PoweredLightsDeployer::AddPoint(BaseEntity/RPCMessage msg)
csharp
//---
	}
	if (!this.CheckValidPlacement(vector, 0.1f, 10551297))
	{
		return;
	}
	if (Interface.CallHook("OnPoweredLightsPointAdd", this, player, vector, vector2) != null)
	{
		return;
	}
	int num;
	if (this.active == null)
//---

Released under the MIT License.