mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
21 lines
357 B
Plaintext
21 lines
357 B
Plaintext
/*
|
|
* Author: GitHawk
|
|
* Turn off a fuel nozzle
|
|
*
|
|
* Arguments:
|
|
* 0: The object holding the nozzle <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [player, nozzle] call ace_refuel_fnc_turnOff
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
params ["_nozzleHolder"];
|
|
|
|
(_nozzleHolder getVariable QGVAR(nozzle)) setVariable [QGVAR(fueling), 0];
|