Skip to content

OnCounterTargetChange

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnCounterTargetChange(  )
{
    Puts( "OnCounterTargetChange works!" );
}

Location

  • PowerCounter::SERVER_SetTarget(BaseEntity/RPCMessage msg)
csharp
[BaseEntity.RPC_Server, BaseEntity.RPC_Server.IsVisible(3f)]
public void SERVER_SetTarget(BaseEntity.RPCMessage msg)
{
	int OxideGen_0 = msg.read.Int32();
	if (Interface.CallHook("OnCounterTargetChange", this, msg.player, OxideGen_0) != null)
	{
		return;
	}
	if (!this.CanPlayerAdmin(msg.player))
	{
//---

Released under the MIT License.