//Player Detain, Search, Release
if (_isMan and _isAlive and !inSafeZone and !_isZombie and !_isAnimal && !(_traderType in serverTraders)) then {
if (s_player_investo < 0) then {
s_player_investo = player addAction [("<t color='#ffa500'>")+("Detain")+("</t>"), "custom\investigation\Detain.sqf",cursorTarget, 5, false, true, "",""];
};
if (s_player_investoTwo < 0) then {
s_player_investoTwo = player addAction [("<t color='#ffa500'>")+("Search")+("</t>"), "custom\investigation\Search.sqf",cursorTarget, 5, false, true, "",""];
};
if (s_player_investoThree < 0) then {
s_player_investoThree = player addAction [("<t color='#ffa500'>")+("Escort")+("</t>"), "custom\investigation\Escort.sqf",cursorTarget, 5, false, true, "",""];
};
if (s_player_investoFour < 0) then {
s_player_investoFour = player addAction [("<t color='#ffa500'>")+("Release")+("</t>"), "custom\investigation\Release.sqf",cursorTarget, 5, false, true, "",""];
};
} else {
player removeAction s_player_investo;
s_player_investo = -1;
player removeAction s_player_investoTwo;
s_player_investoTwo = -1;
player removeAction s_player_investoThree;
s_player_investoThree = -1;
player removeAction s_player_investoFour;
s_player_investoFour = -1;
};
//Player Deaths
if(_typeOfCursorTarget == "Info_Board_EP1") then {