General Exports
This page explains the available client-side exports for the r_megaphone and their usage. These exports allow you to interact with the script programmatically from other resources.
1. Exports Overview
1.1 Load Megaphone for a Vehicle
Description: This export enables the megaphone system in a specific vehicle without having to define it in the configuration.
Parameters:
vehicle
: The vehicle entity where you want to activate the megaphone system.
Example Usage:
1.2 Unload Megaphone from a Vehicle
Description:
This export disables the megaphone system on a vehicle that was previously loaded using LoadVehicleMegaphone()
.
Parameters:
vehicle
: The vehicle entity where you want to disable the megaphone system.
Example Usage:
Last updated