cmf_utility_fnc_clearVehicleCargo

From cluster wiki
Jump to navigation Jump to search


Hover & click on the images for description
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:
cmf_utility_fnc_submitAAR cmf_utility_fnc_countDown cmf_utility_fnc_endLoadingScreen cmf_utility_fnc_freezeTime cmf_utility_fnc_nearestPlayer cmf_utility_fnc_preventProne cmf_utility_fnc_restrictZeus cmf_utility_fnc_stripUnit
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