Merge pull request #4115 from acemod/cut-ropes-keybind

Cut ropes keybind
This commit is contained in:
bux578 2016-07-14 15:35:31 +02:00 committed by GitHub
commit 97f5374118

View File

@ -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;