Anti-Theft Script

I have in Mission.sqm it's
it in zonebash
class Item1
{
position[]={4063.4226,365.00577,11664.19};
a=100;
b=100;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="zonebash";
expCond="(player distance zonebash) < 100;";
expActiv="TitleText[""Вы входите в Черный Рынок"",""PLAIN DOWN""]; canbuild = false;";
expDesactiv="TitleText[""Вы покидаете Черный Рынок"",""PLAIN DOWN""]; canbuild = true;";
class Effects
{
};
};
and safezone for zonebash
class Item3
{
position[]={4063.4226,365.00577,11664.19};
activationBy="ANY";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="zonebash_safezone";
expCond="(player distance zonebash_safezone) < 150;";
expActiv="inSafeZone = true;";
expDesactiv="inSafeZone = false;";
class Effects
{
};
};
It's all okay or not?
(Sorry my bad english -"I have good russian")
 
You should use Silvershot's updated version here:
http://dayzepoch.com/forum/index.ph...out-gear-menu-open-backpack/page-3#entry16760

Make sure canbuild = false; is in each safe zone sensor's expActiv and canbuild = true; is in each expDesactiv in your mission.sqm. If it says placevault instead of canbuild then you are using an outdated version of mission.sqm.

Make sure you always start with the newest mission and server pbos every time there is an update. Newest files here under Installation > Server Files > Server: DayZ Epoch 1.0.2.4 Server Files
http://dayzepoch.com/

// This script was written by SilverShot.while{!canbuild }do{ waitUntil{canbuild or!isNull (FindDisplay106)};if(!isNull (FindDisplay106))then{if(!isNull cursorTarget )then{ _cTarget = cursorTarget; _blk =false;{if(!_blk)then{ _blk = _cTarget isKindOf _x;};} forEach ["LandVehicle","Air","Man"];if( _blk )then{ titleText["\n\nCan only access your gear in the safe zone.","PLAIN DOWN",0];(FindDisplay106) closeDisplay 1;};};};};
it work?
i test and nothing
 
Back
Top