mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
12 lines
303 B
Plaintext
12 lines
303 B
Plaintext
//fnc_keyDownSelfAction.sqf
|
|
#include "script_component.hpp"
|
|
|
|
if(!GVAR(keyDownSelfAction)) then {
|
|
GVAR(keyDownSelfAction) = true;
|
|
GVAR(keyDown) = false;
|
|
GVAR(keyDownTime) = diag_tickTime;
|
|
|
|
GVAR(selfMenuOffset) = [sin getDir ACE_player, cos getDir ACE_player, 0] vectorMultiply 2;
|
|
};
|
|
true
|