ACE3/addons/map_gestures/functions/fnc_endTransmit.sqf

22 lines
383 B
Plaintext

/*
* Author: MikeMatrix
* Ensure that all variables used to indicate transmission are disabled.
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
* [] call ace_map_gestures_fnc_endTransmit
*
* Public: No
*/
#include "script_component.hpp"
if (!GVAR(enabled)) exitWith {};
ACE_player setVariable [QGVAR(Transmit), false, true];
GVAR(EnableTransmit) = false;