Ghostman Posted June 17, 2017 Report Share Posted June 17, 2017 How can i disable for othr players remove (sandbags H-barier, fences, fuelpump, and etc) only ovner or friends from plotpole can remove it Link to comment Share on other sites More sharing options...
lwbuk Posted June 17, 2017 Report Share Posted June 17, 2017 In config_variables add the class names of things you want restricted DZE_restrictRemoval = ["Fence_corrugated_DZ","M240Nest_DZ","ParkBench_DZ","FireBarrel_DZ","Scaffolding_DZ","CanvasHut_DZ","LightPole_DZ","DeerStand_DZ","MetalGate_DZ","StickFence_DZ"]; //Items that can be removed with a crowbar only with proper ownership or access. It is not necessary to add doors, storage or items that inherit from 'ModularItems' to this list. Items that inherit from 'BuiltItems' can be added to this list if desired. theduke 1 Link to comment Share on other sites More sharing options...
theduke Posted June 17, 2017 Report Share Posted June 17, 2017 there is a variable in your configvariables.sqf called DZE_isRemovable //Items that can be removed with a crowbar with no ownership or access required. To forbid base take overs remove plot pole from this list and add it to DZE_restrictRemoval. It is not necessary to add wrecks or items that inherit from 'BuiltItems' to this list. and DZE_restrictRemoval //Items that can be removed with a crowbar only with proper ownership or access. It is not necessary to add doors, storage or items that inherit from 'ModularItems' to this list. Items that inherit from 'BuiltItems' can be added to this list if desired. lwbuk 1 Link to comment Share on other sites More sharing options...
theduke Posted June 17, 2017 Report Share Posted June 17, 2017 1 minute ago, lwbuk said: In config_variables add the class names of things you want restricted DZE_restrictRemoval = ["Fence_corrugated_DZ","M240Nest_DZ","ParkBench_DZ","FireBarrel_DZ","Scaffolding_DZ","CanvasHut_DZ","LightPole_DZ","DeerStand_DZ","MetalGate_DZ","StickFence_DZ"]; //Items that can be removed with a crowbar only with proper ownership or access. It is not necessary to add doors, storage or items that inherit from 'ModularItems' to this list. Items that inherit from 'BuiltItems' can be added to this list if desired. lmao same exact time we posted Link to comment Share on other sites More sharing options...
lwbuk Posted June 17, 2017 Report Share Posted June 17, 2017 Great minds and all that Link to comment Share on other sites More sharing options...
Ghostman Posted June 17, 2017 Author Report Share Posted June 17, 2017 can i use it? Spoiler DZ_OtherModular = [ "MetalPanel_DZ", "DeerStand_DZ", "FuelPump_DZ", "LightPole_DZ", "StickFence_DZ", "MetalGate_DZ", "Wooden_shed_DZ", "Wire_cat1", "SandNest_DZ", "WoodShack_DZ", "CanvasHut_DZ", "Fence_corrugated_DZ", "MetalPanel_DZ", "BagFenceRound_DZ", "Sandbag1_DZ", "Land_HBarrier1_DZ", "Land_HBarrier3_DZ", "Land_HBarrier5_DZ", "Fort_RazorWire", "Hedgehog_DZ", "M240Nest_DZ" ]; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now