ACE3/addons/compat_sog/functions/fnc_disableCookoff.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

22 lines
395 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: BaerMitUmlaut
* Disables cookoff for bicycles.
*
* Arguments:
* 0: Bicycle <OBJECT>
*
* Return Value:
* None
*
* Example:
* [bicycle] call ace_compat_sog_fnc_disableCookoff
*
* Public: No
*/
params ["_bicycle"];
_bicycle setVariable [QEGVAR(cookoff,enable), false];
_bicycle setVariable [QEGVAR(cookoff,enableAmmoCookoff), false];