mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
22 lines
395 B
Plaintext
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];
|