Skip to content

OnVehicleModuleSelected

Usage

  • No return behavior

Example Autogenerated

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

Location

  • ModularCarGarage::RPC_SelectedLootItem(BaseEntity/RPCMessage msg)
csharp
//---
		if (flag)
		{
			player.inventory.loot.SendImmediate();
		}
	}
	Interface.CallHook("OnVehicleModuleSelected", vehicleItem, this, player);
}

Released under the MIT License.