Jun 23rd, 2018
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //If target is a player then check if we can use the cop menu.
  2. if (isPlayer _curObject && _curObject isKindOf "Man") then {
  3.     if ((_curObject getVariable ["restrained",false]) && !dialog && playerSide isEqualTo west) then {
  4.         [_curObject] call life_fnc_copInteractionMenu;
  5.     } else {
  7.     if ((_curObject getVariable ["restrained",false]) && !(player getVariable "restrained") && !dialog && playerSide isEqualTo civilian) then {
  8.           [_curObject] call life_fnc_civInteractionMenu;
  9.       };
  10.     };
  12. } else {
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.