mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
22 lines
392 B
Plaintext
22 lines
392 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];
|