ACE3/addons/map_gestures/functions/fnc_endTransmit.sqf

22 lines
393 B
Plaintext
Raw Normal View History

/*
2015-08-10 06:45:43 +00:00
* Author: Dslyecxi, 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;