Skip to content

OnShopAcceptClick

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnShopAcceptClick( ShopFront instance, BasePlayer player )
{
    Puts( "OnShopAcceptClick works!" );
}

Location

  • ShopFront::AcceptClicked(BaseEntity/RPCMessage msg)
csharp
//---
	}
	if (this.vendorPlayer == null || this.customerPlayer == null)
	{
		return;
	}
	if (Interface.CallHook("OnShopAcceptClick", this, msg.player) != null)
	{
		return;
	}
	if (this.IsPlayerVendor(msg.player))
	{
//---

Released under the MIT License.