Skip to content

OnOpenVendingAdmin

Usage

  • No return behavior

Example Autogenerated

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

Location

  • VendingMachine::RPC_OpenAdmin(BaseEntity/RPCMessage msg)
csharp
//---
	{
		return;
	}
	this.OpenShop(player);
	base.ClientRPC(RpcTarget.Player("CLIENT_OpenAdminMenu", player));
	Interface.CallHook("OnOpenVendingAdmin", this, player);
}

Released under the MIT License.