James184
Member
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.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
//--------------------------------------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;
};
};
//-------------------------------------------------------------------------------------------------------------
If you're using gravers version in your AHconfig.sqf add this "#USER:Test" to your ALLOWED CMDMenus.@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
//--------------------------------------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;
};
};
//-------------------------------------------------------------------------------------------------------------
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.
Send me your mission.pbo and I'll look at it.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
Did you try that fix? I wasn't sure if it would work but it seemed logical.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?
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;Send me your mission.pbo and I'll look at it.
You should be able to download the whole folder.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;
yes but it wont let me upload a folder.. can you come to my ts and help me ?![]()
Don't need to pay me I'll do it for free.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$![]()
yea i could trust himPanda, 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.