//--------------------------------------ARREST----------------------------------------------------------------
_allowed = ["PUID","PUID","PUID","PUID"];
if((getPlayerUID player) in _allowed)then{
if(_isMan && !_isZombie && _canDo && _isAlive) then {
if (s_player_arrest < 0) then {
s_player_arrest = player addaction ['<t color="#0074E8">' + "Investigation Menu" + '</t>', "scripts\Investigation\investigation.sqf","",100,false,true,"", ""];
};
} else {
player removeAction s_player_arrest;
s_player_arrest = -1;
};
};
//----------------------------------------------------------------------------------------------