Skip to content

OnVehicleModuleDeselected

Usage

  • No return behavior

Example Autogenerated

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

Location

  • ModularCarGarage::RPC_DeselectedLootItem(BaseEntity.RPCMessage msg)
csharp
//---
	{
		if (player.inventory.loot.RemoveContainerAt(3))
		{
			player.inventory.loot.SendImmediate();
		}
		Interface.CallHook("OnVehicleModuleDeselected", this, player);
	}
}

Released under the MIT License.