HellGamer115 Posted March 27, 2014 Report Share Posted March 27, 2014 hey guys, i recently found a script that let you hand cuff players http://opendayz.net/threads/dayz-1-8-0-3-handcuff-player-help.15324/page-8#post-96967 but i want to disable it in safe zones. i use AGN safe zone Commander http://pastebin.com/WifTc5Tm there is the script, so can someone help me. because i dont want people handcuffing and arresting other. other than that, this script works perfectly calamity 1 Link to comment Share on other sites More sharing options...
HellGamer115 Posted March 27, 2014 Author Report Share Posted March 27, 2014 Sorry atm I don't have time but use this as example: if (intradercity) exitwith { s_player_handcuff = -1; }; or if (intradercity) then { removeAddaction s_player_handcuff; }; I hope this helps a little bit :/ EDIT: If you always need it, I will take a closer look at it tomorrow. ill wait until tomorrow, i dont know how to do what you just said. Link to comment Share on other sites More sharing options...
cherethod Posted April 4, 2014 Report Share Posted April 4, 2014 Hello guys, i just try to add this script to our server, if i follow http://www.armaholic.com/page.php?id=16289 "tutorial" appears endless menus with the option apparently works, but the player does not affect you, just being tied to you like a bug. Next try with http://opendayz.net/threads/dayz-1-8-0-3-handcuff-player-help.15324/ and no appears option , i change the required item to "ItemWire" these is my fn_selfactions adds _hasArrestItems = "ItemWire" in magazines player; // ARREST SCRIPT REQ //--------------------------------------ARREST---------------------------------------------------------------- //if ((player getVariable"humanity") >= 10000 or (player getVariable"humanity") <= -10000) then { if(_isMan && !_isZombie && _hasArrestItems && _canDo && _isAlive) then { if (s_player_arrest < 0) then { s_player_arrest = player addaction ['<t color="#0074E8">' + "Investigation Menu" + '</t>', "Scripts\Investigate\investigate.sqf","",5,false,true,"", ""]; }; } else { player removeAction s_player_arrest; s_player_arrest = -1; }; //------------------------------------------------------------------------------------------------------------- //Arrest player removeAction s_player_arrest; s_player_arrest = -1; alguien lo tiene funcionando en 1.0.4.2? I forgot something? Please i need help to find where is my error. Thanks in advance. Link to comment Share on other sites More sharing options...
Flosstradamus Posted April 4, 2014 Report Share Posted April 4, 2014 ill wait until tomorrow, i dont know how to do what you just said. You know how many times people have told you that you keep posting in the wrong section for this? Please post in the right section next time. xBowBii and hambeast 2 Link to comment Share on other sites More sharing options...
HellGamer115 Posted April 4, 2014 Author Report Share Posted April 4, 2014 You know how many times people have told you that you keep posting in the wrong section for this? Please post in the right section next time. but this is sort of a release, its not made by me. im just letting people know that there is something like this. Link to comment Share on other sites More sharing options...
Flosstradamus Posted April 4, 2014 Report Share Posted April 4, 2014 but this is sort of a release, its not made by me. im just letting people know that there is something like this. 1. You didn't make it and if the guy wanted to share it on epochmod.com he would of. 2. You are asking for help with the script which should be in the hows it done or scripting help forum. hambeast 1 Link to comment Share on other sites More sharing options...
seeker619 Posted May 15, 2014 Report Share Posted May 15, 2014 ANYONE got this working?? i wanna try this on my servers. Link to comment Share on other sites More sharing options...
Flosstradamus Posted May 15, 2014 Report Share Posted May 15, 2014 ANYONE got this working?? i wanna try this on my servers. Way to necro a thread. Link to comment Share on other sites More sharing options...
seeker619 Posted May 16, 2014 Report Share Posted May 16, 2014 Way to necro a thread. right on that was your 420th post!! 420!!! Party at floss's house! Flosstradamus 1 Link to comment Share on other sites More sharing options...
himler Posted May 18, 2014 Report Share Posted May 18, 2014 Getting it working on my server but going to keep it as a exclusive feature 0_o Link to comment Share on other sites More sharing options...
General Lee Posted October 12, 2014 Report Share Posted October 12, 2014 1. You didn't make it and if the guy wanted to share it on epochmod.com he would of. 2. You are asking for help with the script which should be in the hows it done or scripting help forum. i understand and agree but quit being a dick man. Link to comment Share on other sites More sharing options...
SideShowFreak Posted October 12, 2014 Report Share Posted October 12, 2014 Getting it working on my server but going to keep it as a exclusive feature 0_o its not exclusive..... In fn_selfactions add the following code above //Player Deaths //----------------Detain-------------------------------------------------------------------------- //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\Scripts\investigation\Detain.sqf",cursorTarget, 5, false, true, "","]; }; if (s_player_investoTwo < 0) then { s_player_investoTwo = player addAction [("<t color=#ffa500'>")+("Search")+("</t>"), "Custom\Scripts\investigation\Search.sqf",cursorTarget, 5, false, true, "","]; }; if (s_player_investoThree < 0) then { s_player_investoThree = player addAction [("<t color=#ffa500'>")+("Escort")+("</t>"), "Custom\Scripts\investigation\Escort.sqf",cursorTarget, 5, false, true, "","]; }; if (s_player_investoFour < 0) then { s_player_investoFour = player addAction [("<t color=#ffa500'>")+("Release")+("</t>"), "Custom\Scripts\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; }; //------------------------------------------------------------------------------------------------ Link to the Investigation folder. https://www.dropbox.com/s/ayzlpkf0t9na39i/Investigation.rar?dl=0 Add this in your mission file and change the calls for each section to fit your location IE: "Custom\Scripts\investigation\Release.sqf" 7: Profit??! PS: I did NOT write this. i take no credit. Link to comment Share on other sites More sharing options...
calamity Posted October 12, 2014 Report Share Posted October 12, 2014 its not exclusive..... In fn_selfactions add the following code above //Player Deaths //----------------Detain-------------------------------------------------------------------------- //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\Scripts\investigation\Detain.sqf",cursorTarget, 5, false, true, "","]; }; if (s_player_investoTwo < 0) then { s_player_investoTwo = player addAction [("<t color=#ffa500'>")+("Search")+("</t>"), "Custom\Scripts\investigation\Search.sqf",cursorTarget, 5, false, true, "","]; }; if (s_player_investoThree < 0) then { s_player_investoThree = player addAction [("<t color=#ffa500'>")+("Escort")+("</t>"), "Custom\Scripts\investigation\Escort.sqf",cursorTarget, 5, false, true, "","]; }; if (s_player_investoFour < 0) then { s_player_investoFour = player addAction [("<t color=#ffa500'>")+("Release")+("</t>"), "Custom\Scripts\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; }; //------------------------------------------------------------------------------------------------ Link to the Investigation folder. https://www.dropbox.com/s/ayzlpkf0t9na39i/Investigation.rar?dl=0 Add this in your mission file and change the calls for each section to fit your location IE: "Custom\Scripts\investigation\Release.sqf" 7: Profit??! PS: I did NOT write this. i take no credit. Ive had this on my server for months however the escort does not work and a player can detain traders. does your post have fixes for these issues ??? Link to comment Share on other sites More sharing options...
SideShowFreak Posted October 12, 2014 Report Share Posted October 12, 2014 I haven't seen any if the issues you asked about. Escort works fine. Haven't purposely Checked the traders but I don't recall seeing the option when trading and the code has some _istrader type of coding in it. Sorry n my phone and can't check for sure Link to comment Share on other sites More sharing options...
ARC_Solo Posted October 13, 2014 Report Share Posted October 13, 2014 It might be possible to add CanDetain = false or whatever you've called it in the Safezone triggers. Personally, I've seen issues with detaining scripts where you can run into a group of people and spam scroll options detaining 3-4 people in seconds. To fix this I'd recommend adding the execuation to extra_rc so you have to sneak up, and open a menu. It also reduces lag on your server. Link to comment Share on other sites More sharing options...
DimitriPokki Posted October 13, 2014 Report Share Posted October 13, 2014 I replace code to fn_selfaction.sqf and check to humanity dont work My code: Please help corect make code to check humanity and player in trader zone if ((player getVariable"humanity") >= 100000 or (player getVariable"humanity") >= -100000) then { 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>"), "scripts\investigation\Detain.sqf",cursorTarget, 5, false, true, "",""]; }; if (s_player_investoTwo < 0) then { s_player_investoTwo = player addAction [("<t color='#ffa500'>")+("Search")+("</t>"), "scripts\investigation\Search.sqf",cursorTarget, 5, false, true, "",""]; }; if (s_player_investoThree < 0) then { s_player_investoThree = player addAction [("<t color='#ffa500'>")+("Escort")+("</t>"), "scripts\investigation\Escort.sqf",cursorTarget, 5, false, true, "",""]; }; if (s_player_investoFour < 0) then { s_player_investoFour = player addAction [("<t color='#ffa500'>")+("Release")+("</t>"), "scripts\investigation\release.sqf",cursorTarget, 5, false, true, "",""]; }; if (s_player_investoFive < 0) then { s_player_investoFive = player addAction [("<t color='#ffa500'>")+("Stop Escort")+("</t>"), "scripts\investigation\stop_escort.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 removeAction s_player_investoFive; s_player_investoFive = -1; }; }; Link to comment Share on other sites More sharing options...
TylerHumor Posted December 29, 2014 Report Share Posted December 29, 2014 I'm getting kicked for script restriction #0 I've got infistar physbo 1 Link to comment Share on other sites More sharing options...
Tech_Support Posted December 29, 2014 Report Share Posted December 29, 2014 I'm getting kicked for script restriction #0 I've got infistar have you added this !="Detain" !="PVDZ_ply_Arrst" to the first line of your publicvariable.txt battleye filter ? Link to comment Share on other sites More sharing options...
Nekuan Posted December 31, 2014 Report Share Posted December 31, 2014 A few issues I've run into: The scrolloption do not disappear after you had them until you scroll at any other object Escort sets the hostage free Anyone knows how to fix that? Link to comment Share on other sites More sharing options...
Dominopi Posted January 5, 2015 Report Share Posted January 5, 2015 Its is possible to run combat mode if player is arrested? Link to comment Share on other sites More sharing options...
Reaper5150 Posted April 12, 2019 Report Share Posted April 12, 2019 Anyone have a working link for this please? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now