DayZ 1.8.0.3 handcuff player help

Haven't got the first part to work but make sure you put !="Detain" !="PVDZ_ply_Arrst" in your publicvariables.txt int the InstanceName>Battleye. That should fix the issue.
 
I cannot get the _side option to work.

I have:
_side = side _cursorTarget == west; //so only Players can be detained
_hasArrestItems = "PartGeneric" in magazines player; // ARREST SCRIPT REQ

in my fn_selfActions.sqf on line 15
and

Code:
//--------------------------------------ARREST----------------------------------------------------------------
    if (player getVariable "Detain" == 1) then {
    player removeAction s_player_arrest;
    };
        if(_isMan && !_isZombie && _canDo && _isAlive && !_isAnimal && _hasArrestItems && _side) then {
            if (s_player_arrest < 0) then {
                s_player_arrest = player addaction [("<t color=""#0074E8"">" + ("Detain") +"</t>"), "ATPExclusion\Detain.sqf","",100,false,true,"", ""];
                };
        } else {
            player removeAction s_player_arrest;
            s_player_arrest = -1;
            };
    if ((_cursorTarget getVariable "Detain" == 1) && cursorTarget distance player < 2 ) then
    {
        if(_isMan && !_isZombie && _canDo && _isAlive) then {
            if (s_player_escort < 0) then {
                s_player_escort = player addaction [("<t color=""#0074E8"">" + ("Escort") +"</t>"), "ATPExclusion\Escort.sqf",_cursorTarget, 1, true, true, "", ""];
                };
        } else {
            player removeAction s_player_escort;
            s_player_escort = -1;
            };
        if(_isMan && !_isZombie && _canDo && _isAlive) then {
            if (s_player_search < 0) then {
                s_player_search = player addaction [("<t color=""#0074E8"">" + ("Search") +"</t>"), "ATPExclusion\Search.sqf",_cursorTarget, 1, true, true, "", ""];
                };
        } else {
            player removeAction s_player_search;
            s_player_search = -1;
            };

        if(_isMan && !_isZombie && _canDo && _isAlive) then {
            if (s_player_release < 0) then {
                s_player_release = player addaction [("<t color=""#0074E8"">" + ("Release") +"</t>"), "ATPExclusion\release.sqf",_cursorTarget, 1, true, true, "", ""];
                };
        } else {
            player removeAction s_player_release;
            s_player_release = -1;
            };
    };
    //-------------------------------------------------------------------------------------------------------------

I dont get a scroll wheel option.
 
@James184 have you got it to work where you can detain players and put them in vehicles? and also with infiSTAR's anti hack it bans anyone on my server who uses the menu as it thinks its a cheat so ya
If you're using gravers version in your AHconfig.sqf add this "#USER:Test" to your ALLOWED CMDMenus.
 
I did a little modification so that it uses UIDs to authenticate instead of humanity.
Code:
//--------------------------------------ARREST----------------------------------------------------------------
    if ((getPlayerUID player) in ["UID1","UID2"]) 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;
            };
    };
//-------------------------------------------------------------------------------------------------------------
 
The code to restrict players from interacting the investigation scripts with ai and zeds are all posted a few pages back and a very simple check to add. Since I'm restricted to my iPhone I won't be writing any codes, it's a nightmare with these phones
 
cant get it anymore ... ever scince nova did it for me, my server crashed later and now i cant get it :/ anyone feel like lending a hand? iv legit trolled this whole group millions of times and cannot get it to work :/ watched the video, did all the fixes shfashf si bhygsergshsgv hg iuhdgfh dug
 
In detain.sqf and stop_escort.sqf find this line:
Code:
_pos = [(_pos select 0)+1.5*sin(_dir),(_pos select 1)+1.5*cos(_dir),0];

and change it to this.
Code:
_pos = [(_pos select 0)+1.5*sin(_dir),(_pos select 1)+1.5*cos(_dir),(_pos select 2)];

That way it is using your height from where you are instead of just 0 meaning ground level. Not sure how this will effect the visibility of the can used to attach the player to the ground so they are unable to move and access gear tho.

I was hoping that this change would stop players from ending up restrained on the ground floor if being restrained from a rooftop.

is there anything that would fix this?
 
cant get it anymore ... ever scince nova did it for me, my server crashed later and now i cant get it :/ anyone feel like lending a hand? iv legit trolled this whole group millions of times and cannot get it to work :/ watched the video, did all the fixes shfashf si bhygsergshsgv hg iuhdgfh dug
Send me your mission.pbo and I'll look at it.
 
I was hoping that this change would stop players from ending up restrained on the ground floor if being restrained from a rooftop.

is there anything that would fix this?
Did you try that fix? I wasn't sure if it would work but it seemed logical.
 
Send me your mission.pbo and I'll look at it.
i have vilayer when i go edit my "mission.pbo" its a folder and i edit right there instead of pulling out a pbo through pbo manager i edit files either on vilayers control panel or on filezilla, right click and edit ;D BUT i cnt upload a folder on dropbox for you to look at D;
 
i have vilayer when i go edit my "mission.pbo" its a folder and i edit right there instead of pulling out a pbo through pbo manager i edit files either on vilayers control panel or on filezilla, right click and edit ;D BUT i cnt upload a folder on dropbox for you to look at D;
You should be able to download the whole folder.
 
okay... tbh i have all my back ups, and to be safe my pw change emails sent and ready to change, not to mention youre a valued memeber that has a reputation to uphold and not ruin it over destroying my server and makign me back up (wich takes 5 minutes) so would you wanan do it for me? i can throw yuh liek 10 or 15$ :)
 
okay... tbh i have all my back ups, and to be safe my pw change emails sent and ready to change, not to mention youre a valued memeber that has a reputation to uphold and not ruin it over destroying my server and makign me back up (wich takes 5 minutes) so would you wanan do it for me? i can throw yuh liek 10 or 15$ :)
Don't need to pay me I'll do it for free.
 
Panda, Inkko is someone I'd not worry about at all. Anyone working so hard to publish mods for others has zero interest in causing anyone grief. I wouldn't be bothered at all if guys like him had root access to anything, they will be respectful.

BTW guys, if people come into TS and help you out or spend time doing your code up so it works then take a moment and let others know. I appreciate when people do this not because I want glory but because it makes it much easier when someone new needs direct assistance and they are unsure about sharing server FTP access (for instance). Every single time I've helped someone in my TS I've found other things wrong in their rpt log and if I have access I can fix them much faster than it takes to explain 'why' and 'how' (since it's almost always brace management mistakes).

Thanks for your continuing work on this Inkko. My guess is this could be one of those 'everybody uses' mods when it's ready for prime-time.
 
Panda, Inkko is someone I'd not worry about at all. Anyone working so hard to publish mods for others has zero interest in causing anyone grief. I wouldn't be bothered at all if guys like him had root access to anything, they will be respectful.
yea i could trust him :) and dont worrie , if i cant help someone i refer to a few people here, :)
 
Back
Top