Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Restraining (Shift + R)
- case 19: {
- if (_shift) then {_handled = true};
- if (_shift && playerSide isEqualTo west && {!isNull cursorObject} && {cursorObject isKindOf "CAManBase"} && {(isPlayer cursorObject)} && {(side cursorObject in [civilian,independent])} && {alive cursorObject} && {cursorObject distance player < 3.5} && {!(cursorObject getVariable "Escorting")} && {!(cursorObject getVariable "restrained")} && {speed cursorObject < 1}) then {
- };
- if (_shift && playerSide isEqualTo civilian && {!isNull cursorObject} && {cursorObject isKindOf "CAManBase"} && {(isPlayer cursorObject)} && {(side cursorObject in [civilian,independent])} && {alive cursorObject} && {cursorObject distance player < 3.5} && {!(cursorObject getVariable "Escorting")} && {!(cursorObject getVariable "restrained")} && {speed cursorObject < 1}) then {
- if (FETCH_CONST(life_hunterlevel) < 1) exitWith {};
- };
- if (_ctrlKey && playerSide isEqualTo west && vehicle player != player) then
- {
- [] call life_fnc_radar;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement