mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added keybind to cut ropes
This commit is contained in:
parent
10b7e5d270
commit
21f1329762
@ -7,3 +7,12 @@
|
||||
[QGVAR(startFastRope), {
|
||||
[FUNC(fastRopeServerPFH), 0, _this] call CBA_fnc_addPerFrameHandler;
|
||||
}] call CBA_fnc_addEventHandler;
|
||||
|
||||
["ACE3 Vehicles", QGVAR(cutRopes), localize LSTRING(Interaction_cutRopes), {
|
||||
if ([vehicle ACE_player] call FUNC(canCutRopes)) then {
|
||||
[vehicle ACE_player] call FUNC(cutRopes);
|
||||
true
|
||||
} else {
|
||||
false
|
||||
};
|
||||
}, {false}] call CBA_fnc_addKeybind;
|
||||
|
Loading…
Reference in New Issue
Block a user