Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //If target is a player then check if we can use the cop menu.
- if (isPlayer _curObject && _curObject isKindOf "Man") then {
- if ((_curObject getVariable ["restrained",false]) && !dialog && playerSide isEqualTo west) then {
- [_curObject] call life_fnc_copInteractionMenu;
- } else {
- if ((_curObject getVariable ["restrained",false]) && !(player getVariable "restrained") && !dialog && playerSide isEqualTo civilian) then {
- [_curObject] call life_fnc_civInteractionMenu;
- };
- };
- } else {
RAW Paste Data