cmf_utility_fnc_clearVehicleCargo
Jump to navigation
Jump to search
Description
- Description:
- This function clears vehicle cargo on newly spawned vehicles. It is called automatically if enabled in cmf_config.hpp
- Execution:
- Call
- Groups:
- CMF3: utility
Syntax
- Syntax:
- [] call cmf_utility_fnc_clearVehicleCargo
- Return Value:
- None
Examples
- Example 1:
[] call cmf_utility_fnc_clearVehicleCargo;
Additional Information
- See also:
- See also needed
Internal Variables
Locality | Namespace | Name | Description |
---|---|---|---|
GLOBAL | Unit | cmf_utility_clearCargo_vehicleDisable | A Boolean variable that when set to true will disable clearVehicleCargo of the vehicle |
GLOBAL | Mission | cmf_utility_clearCargo_disable | A Boolean variable that when set to true will disable clearVehicleCargo globally |
GLOBAL | Unit | cmf_utility_clearCargo_initialized | A Boolean variable that is true when clearVehicleCargo has been initialized on vehicle |
Events
- No events
Notes