J.Dominic Posted January 12, 2017 Report Share Posted January 12, 2017 This video for detail how to bug. http://dai.ly/x5887s0 I know easy way to fix just set DZE_requireplot = 1; but myserver set DZE_requireplot = 0; Thank you sir. Link to comment Share on other sites More sharing options...
0 juandayz Posted January 16, 2017 Report Share Posted January 16, 2017 @J.Dominic well im here by the revange! after try twenty diferents syntax i test it and works... but you know try by your self and tell me custom modular_build.sqf find: _classname = getText (configFile >> "CfgMagazines" >> DZE_buildItem >> "ItemActions" >> "Build" >> "create"); _classnametmp = _classname; below paste: if (_classname isKindOf "WoodLadder_DZ") exitWith { dayz_actionInProgress = false; systemChat("Object Not Allowed in this server"); }; iF works,, please made a new thread in 1.6 mods or tools about it, for everyone who use DZE_requireplot = 0; Link to comment Share on other sites More sharing options...
0 juandayz Posted January 16, 2017 Report Share Posted January 16, 2017 and here you got .. same as above but more complete: (allow laders but not near of walls) check if i miss some objects in _NOTALLOW find: _classname = getText (configFile >> "CfgMagazines" >> DZE_buildItem >> "ItemActions" >> "Build" >> "create"); _classnametmp = _classname; below paste: Spoiler _playerPos = getPosATL player; _NOTALLOW = ["WoodSmallWall_DZ","CinderWallHalf_DZ","CinderWall_DZ","CinderWallSmallDoorway_DZ","CinderWallDoorway_DZ","WoodSmallWallThird_DZ", "WoodSmallWallWin_DZ","WoodSmallWallDoor_DZ","Land_DZE_WoodDoor","Land_DZE_WoodDoorLocked","Land_DZE_GarageWoodDoor","Land_DZE_GarageWoodDoorLocked","WoodLargeWall_DZ", "WoodLargeWallWin_DZ","WoodLargeWallDoor_DZ","Land_DZE_LargeWoodDoor","Land_DZE_LargeWoodDoorLocked"]; _nearRestr = count nearestObjects [_playerPos, _NOTALLOW, 5] > 0; if (_nearRestr && (_classname isKindOf "WoodLadder_DZ") or (_classname isKindOf "WoodStairs_DZ") or (_classname isKindOf "WoodStairsSans_DZ") ) exitWith { dayz_actionInProgress = false; systemChat("This Object is Not Allowed near of a wall"); }; remember the private section for _playerpos _nearrest and _NOTALLOW variables Link to comment Share on other sites More sharing options...
0 J.Dominic Posted January 18, 2017 Author Report Share Posted January 18, 2017 On 16/1/2560 at 9:35 PM, juandayz said: @J.Dominic well im here by the revange! after try twenty diferents syntax i test it and works... but you know try by your self and tell me custom modular_build.sqf find: _classname = getText (configFile >> "CfgMagazines" >> DZE_buildItem >> "ItemActions" >> "Build" >> "create"); _classnametmp = _classname; below paste: if (_classname isKindOf "WoodLadder_DZ") exitWith { dayz_actionInProgress = false; systemChat("Object Not Allowed in this server"); }; iF works,, please made a new thread in 1.6 mods or tools about it, for everyone who use DZE_requireplot = 0; It's working thank you very much sir @juandayz And i like first script cuz i want not allow place every where. juandayz 1 Link to comment Share on other sites More sharing options...
Question
J.Dominic
This video for detail how to bug.
http://dai.ly/x5887s0
I know easy way to fix just set
DZE_requireplot = 1;
but myserver set
DZE_requireplot = 0;
Thank you sir.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now