Skip to content

OnSignLocked

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnSignLocked( PhotoFrame instance, BasePlayer player )
{
    Puts( "OnSignLocked works!" );
}
csharp
private void OnSignLocked( Signage instance, BasePlayer player )
{
    Puts( "OnSignLocked works!" );
}

Location

  • PhotoFrame::LockSign(BaseEntity/RPCMessage msg)
  • Signage::LockSign(BaseEntity/RPCMessage msg)
csharp
//---
		return;
	}
	base.SetFlag(BaseEntity.Flags.Locked, true, false, true);
	base.SendNetworkUpdate(BasePlayer.NetworkQueue.Update);
	base.OwnerID = msg.player.userID;
	Interface.CallHook("OnSignLocked", this, msg.player);
}
csharp
//---
		return;
	}
	base.SetFlag(BaseEntity.Flags.Locked, true, false, true);
	base.SendNetworkUpdate(BasePlayer.NetworkQueue.Update);
	base.OwnerID = msg.player.userID;
	Interface.CallHook("OnSignLocked", this, msg.player);
}

Released under the MIT License.