Jump to content

Recommended Posts

yes

 

scriptName "Functions\misc\fn_selfActions.sqf";


/***********************************************************
ADD ACTIONS FOR SELF
- Function
- [] call fnc_usec_selfActions;
************************************************************/
private ["_isWreckBuilding","_temp_keys","_magazinesPlayer","_isPZombie","_vehicle","_inVehicle","_hasFuelE","_hasRawMeat","_hasKnife","_hasToolbox","_onLadder","_nearLight","_canPickLight","_canDo","_text","_isHarvested","_isVehicle","_isVehicletype","_isMan","_traderType","_ownerID","_isAnimal","_isDog","_isZombie","_isDestructable","_isTent","_isFuel","_isAlive","_Unlock","_lock","_buy","_dogHandle","_lieDown","_warn","_hastinitem","_allowedDistance","_menu","_menu1","_humanity_logic","_low_high","_cancel","_metals_trader","_traderMenu","_isWreck","_isRemovable","_isDisallowRepair","_rawmeat","_humanity","_speed","_dog","_hasbottleitem","_isAir","_isShip","_playersNear","_findNearestGens","_findNearestGen","_IsNearRunningGen","_cursorTarget","_isnewstorage","_itemsPlayer","_ownerKeyId","_typeOfCursorTarget","_hasKey","_oldOwner","_combi","_key_colors","_player_deleteBuild","_player_flipveh","_player_lockUnlock_crtl","_player_butcher","_player_studybody","_player_cook","_player_boil","_hasFuelBarrelE","_hasHotwireKit","_player_SurrenderedGear","_isSurrendered","_isModular","_isModularDoor","_ownerKeyName","_temp_keys_names","_hasAttached","_allowTow","_liftHeli","_found","_posL","_posC","_height","_liftHelis","_attached"];

if (DZE_ActionInProgress) exitWith {}; // Do not allow if any script is running.

_vehicle = vehicle player;
_isPZombie = player isKindOf "PZombie_VB";
_inVehicle = (_vehicle != player);

_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
_canDo = (!r_drag_sqf && !r_player_unconscious && !_onLadder);

_nearLight = nearestObject [player,"LitObject"];
_canPickLight = false;
if (!isNull _nearLight) then {
if (_nearLight distance player < 4) then {
_canPickLight = isNull (_nearLight getVariable ["owner",objNull]);
};
};

//Grab Flare
if (_canPickLight && !dayz_hasLight && !_isPZombie) then {
if (s_player_grabflare < 0) then {
_text = getText (configFile >> "CfgAmmo" >> (typeOf _nearLight) >> "displayName");
s_player_grabflare = player addAction [format[localize "str_actions_medical_15",_text], "\z\addons\dayz_code\actions\flare_pickup.sqf",_nearLight, 1, false, true, "", ""];
s_player_removeflare = player addAction [format[localize "str_actions_medical_17",_text], "\z\addons\dayz_code\actions\flare_remove.sqf",_nearLight, 1, false, true, "", ""];
};
} else {
player removeAction s_player_grabflare;
player removeAction s_player_removeflare;
s_player_grabflare = -1;
s_player_removeflare = -1;
};

if (DZE_HeliLift) then {
_hasAttached = _vehicle getVariable["hasAttached",false];
if(_inVehicle && (_vehicle isKindOf "Air") && ((([_vehicle] call FNC_getPos) select 2) < 30) && (speed _vehicle < 5) && (typeName _hasAttached == "OBJECT")) then {
if (s_player_heli_detach < 0) then {
dayz_myLiftVehicle = _vehicle;
s_player_heli_detach = dayz_myLiftVehicle addAction ["Detach Vehicle","\z\addons\dayz_code\actions\player_heliDetach.sqf",[dayz_myLiftVehicle,_hasAttached],2,false,true,"",""];
};
} else {
dayz_myLiftVehicle removeAction s_player_heli_detach;
s_player_heli_detach = -1;
};
};

if(DZE_HaloJump) then {
if(_inVehicle && (_vehicle isKindOf "Air") && ((([_vehicle] call FNC_getPos) select 2) > 400)) then {
if (s_halo_action < 0) then {
DZE_myHaloVehicle = _vehicle;
s_halo_action = DZE_myHaloVehicle addAction [localize "STR_EPOCH_ACTIONS_HALO","\z\addons\dayz_code\actions\halo_jump.sqf",[],2,false,true,"",""];
};
} else {
DZE_myHaloVehicle removeAction s_halo_action;
s_halo_action = -1;
};
};

if (!DZE_ForceNameTagsOff) then {
if (s_player_showname < 0 && !_isPZombie) then {
if (DZE_ForceNameTags) then {
s_player_showname = 1;
player setVariable["DZE_display_name",true,true];
} else {
s_player_showname = player addAction [localize "STR_EPOCH_ACTIONS_NAMEYES", "\z\addons\dayz_code\actions\display_name.sqf",true, 0, true, false, "",""];
s_player_showname1 = player addAction [localize "STR_EPOCH_ACTIONS_NAMENO", "\z\addons\dayz_code\actions\display_name.sqf",false, 0, true, false, "",""];
};
};
};

if(_isPZombie) then {
if (s_player_callzombies < 0) then {
s_player_callzombies = player addAction [localize "STR_EPOCH_ACTIONS_RAISEHORDE", "\z\addons\dayz_code\actions\call_zombies.sqf",player, 5, true, false, "",""];
};
if (DZE_PZATTACK) then {
call pz_attack;
DZE_PZATTACK = false;
};
if (s_player_pzombiesvision < 0) then {
s_player_pzombiesvision = player addAction [localize "STR_EPOCH_ACTIONS_NIGHTVIS", "\z\addons\dayz_code\actions\pzombie\pz_vision.sqf", [], 4, false, true, "nightVision", "_this == _target"];
};
if (!isNull cursorTarget && (player distance cursorTarget < 3)) then { //Has some kind of target
_isAnimal = cursorTarget isKindOf "Animal";
_isZombie = cursorTarget isKindOf "zZombie_base";
_isHarvested = cursorTarget getVariable["meatHarvested",false];
_isMan = cursorTarget isKindOf "Man";
// Pzombie Gut human corpse || animal
if (!alive cursorTarget && (_isAnimal || _isMan) && !_isZombie && !_isHarvested) then {
if (s_player_pzombiesfeed < 0) then {
s_player_pzombiesfeed = player addAction [localize "STR_EPOCH_ACTIONS_FEED", "\z\addons\dayz_code\actions\pzombie\pz_feed.sqf",cursorTarget, 3, true, false, "",""];
};
} else {
player removeAction s_player_pzombiesfeed;
s_player_pzombiesfeed = -1;
};
} else {
player removeAction s_player_pzombiesfeed;
s_player_pzombiesfeed = -1;
};
};

// Increase distance only if AIR || SHIP
_allowedDistance = 4;
_isAir = cursorTarget isKindOf "Air";
_isShip = cursorTarget isKindOf "Ship";
if(_isAir || _isShip) then {
_allowedDistance = 8;
};

if (!isNull cursorTarget && !_inVehicle && !_isPZombie && (player distance cursorTarget < _allowedDistance) && _canDo) then { //Has some kind of target

// set cursortarget to variable
_cursorTarget = cursorTarget;

// get typeof cursortarget once
_typeOfCursorTarget = typeOf _cursorTarget;

// hintsilent _typeOfCursorTarget;

_isVehicle = _cursorTarget isKindOf "AllVehicles";
_isVehicletype = _typeOfCursorTarget in ["ATV_US_EP1","ATV_CZ_EP1"];
_isnewstorage = _typeOfCursorTarget in DZE_isNewStorage;

// get items && magazines only once
_magazinesPlayer = magazines player;

//boiled Water
_hasbottleitem = "ItemWaterbottle" in _magazinesPlayer;
_hastinitem = false;
{
if (_x in _magazinesPlayer) then {
_hastinitem = true;
};
} count boil_tin_cans;
_hasFuelE = "ItemJerrycanEmpty" in _magazinesPlayer;
_hasFuelBarrelE = "ItemFuelBarrelEmpty" in _magazinesPlayer;
_hasHotwireKit = "ItemHotwireKit" in _magazinesPlayer;

_itemsPlayer = items player;

_temp_keys = [];
_temp_keys_names = [];
// find available keys
_key_colors = ["ItemKeyYellow","ItemKeyBlue","ItemKeyRed","ItemKeyGreen","ItemKeyBlack"];
{
if (configName(inheritsFrom(configFile >> "CfgWeapons" >> _x)) in _key_colors) then {
_ownerKeyId = getNumber(configFile >> "CfgWeapons" >> _x >> "keyid");
_ownerKeyName = getText(configFile >> "CfgWeapons" >> _x >> "displayName");
_temp_keys_names set [_ownerKeyId,_ownerKeyName];
_temp_keys set [count _temp_keys,str(_ownerKeyId)];
};
} count _itemsPlayer;

_hasKnife = "ItemKnife" in _itemsPlayer;
_hasToolbox = "ItemToolbox" in _itemsPlayer;

_isMan = _cursorTarget isKindOf "Man";
_traderType = _typeOfCursorTarget;
_ownerID = _cursorTarget getVariable ["CharacterID","0"];
_isAnimal = _cursorTarget isKindOf "Animal";
_isDog = (_cursorTarget isKindOf "DZ_Pastor" || _cursorTarget isKindOf "DZ_Fin");
_isZombie = _cursorTarget isKindOf "zZombie_base";
_isDestructable = _cursorTarget isKindOf "BuiltItems";
_isWreck = _typeOfCursorTarget in DZE_isWreck;
_isWreckBuilding = _typeOfCursorTarget in DZE_isWreckBuilding;
_isModular = _cursorTarget isKindOf "ModularItems";
_isModularDoor = _typeOfCursorTarget in ["Land_DZE_WoodDoor","Land_DZE_LargeWoodDoor","Land_DZE_GarageWoodDoor","CinderWallDoor_DZ","CinderWallDoorSmall_DZ"];

_isRemovable = _typeOfCursorTarget in DZE_isRemovable;
_isDisallowRepair = _typeOfCursorTarget in ["M240Nest_DZ"];

_isTent = _cursorTarget isKindOf "TentStorage";

_isAlive = alive _cursorTarget;

_text = getText (configFile >> "CfgVehicles" >> _typeOfCursorTarget >> "displayName");

_rawmeat = meatraw;
_hasRawMeat = false;
{
if (_x in _magazinesPlayer) then {
_hasRawMeat = true;
};
} count _rawmeat;

_isFuel = false;
if (_hasFuelE || _hasFuelBarrelE) then {
{
if(_cursorTarget isKindOf _x) exitWith {_isFuel = true;};
} count dayz_fuelsources;
};

// diag_log ("OWNERID = " + _ownerID + " CHARID = " + dayz_characterID + " " + str(_ownerID == dayz_characterID));

// logic vars
_player_flipveh = false;
_player_deleteBuild = false;
_player_lockUnlock_crtl = false;

if (_canDo && (speed player <= 1) && (_cursorTarget isKindOf "Plastic_Pole_EP1_DZ")) then {
if (s_player_maintain_area < 0) then {
s_player_maintain_area = player addAction [format["%1",localize "STR_EPOCH_ACTIONS_MAINTAREA"], "\z\addons\dayz_code\actions\maintain_area.sqf", "maintain", 5, false];
s_player_maintain_area_preview = player addAction [format["%1",localize "STR_EPOCH_ACTIONS_MAINTPREV"], "\z\addons\dayz_code\actions\maintain_area.sqf", "preview", 5, false];
};
} else {
player removeAction s_player_maintain_area;
s_player_maintain_area = -1;
player removeAction s_player_maintain_area_preview;
s_player_maintain_area_preview = -1;
};

// CURSOR TARGET ALIVE
if(_isAlive) then {

//Allow player to delete objects
if(_isDestructable || _isWreck || _isRemovable || _isWreckBuilding) then {
if(_hasToolbox && "ItemCrowbar" in _itemsPlayer) then {
_player_deleteBuild = true;
};
};

//Allow owners to delete modulars
if(_isModular && (dayz_characterID == _ownerID)) then {
if(_hasToolbox && "ItemCrowbar" in _itemsPlayer) then {
_player_deleteBuild = true;
};
};
//Allow owners to delete modular doors without locks
if(_isModularDoor && (dayz_characterID == _ownerID)) then {
if(_hasToolbox && "ItemCrowbar" in _itemsPlayer) then {
_player_deleteBuild = true;
};
};
// CURSOR TARGET VEHICLE
if(_isVehicle) then {

//flip vehicle small vehicles by your self && all other vehicles with help nearby
if (!(canmove _cursorTarget) && (player distance _cursorTarget >= 2) && (count (crew _cursorTarget))== 0 && ((vectorUp _cursorTarget) select 2) < 0.5) then {
_playersNear = {isPlayer _x} count (player nearEntities ["CAManBase", 6]);
if(_isVehicletype || (_playersNear >= 2)) then {
_player_flipveh = true;
};
};


if(!_isMan && _ownerID != "0" && !(_cursorTarget isKindOf "Bicycle")) then {
_player_lockUnlock_crtl = true;
};

};

};

if(_player_deleteBuild) then {
if (s_player_deleteBuild < 0) then {
s_player_deleteBuild = player addAction [format[localize "str_actions_delete",_text], "\z\addons\dayz_code\actions\remove.sqf",_cursorTarget, 1, true, true, "", ""];
};
} else {
player removeAction s_player_deleteBuild;
s_player_deleteBuild = -1;
};

if (DZE_HeliLift) then {
_liftHeli = objNull;
_found = false;

_allowTow = false;
if ((count (crew _cursorTarget)) == 0) then {
{
if(!_allowTow) then {
_allowTow = _cursorTarget isKindOf _x;
};
} count DZE_HeliAllowToTow;
};

//diag_log format["CREW: %1 ALLOW: %2",(count (crew _cursorTarget)),_allowTow];

if (_allowTow) then {
_liftHelis = nearestObjects [player, DZE_HeliAllowTowFrom, 15];
{
if(!_found) then {
_posL = [_x] call FNC_getPos;
_posC = [_cursorTarget] call FNC_getPos;
_height = (_posL select 2) - (_posC select 2);
_hasAttached = _x getVariable["hasAttached",false];
if(_height < 15 && _height > 5 && (typeName _hasAttached != "OBJECT")) then {
if(((abs((_posL select 0) - (_posC select 0))) < 10) && ((abs((_posL select 1) - (_posC select 1))) < 10)) then {
_liftHeli = _x;
_found = true;
};
};
};
} count _liftHelis;
};

//diag_log format["HELI: %1 TARGET: %2",_found,_cursorTarget];

_attached = _cursorTarget getVariable["attached",false];
if(_found && _allowTow && _canDo && !locked _cursorTarget && !_isPZombie && (typeName _attached != "OBJECT")) then {
if (s_player_heli_lift < 0) then {
s_player_heli_lift = player addAction ["Attach to Heli", "\z\addons\dayz_code\actions\player_heliLift.sqf",[_liftHeli,_cursorTarget], -10, false, true, "",""];
};
} else {
player removeAction s_player_heli_lift;
s_player_heli_lift = -1;
};
};

// Allow Owner to lock && unlock vehicle
if(_player_lockUnlock_crtl) then {
if (s_player_lockUnlock_crtl < 0) then {
_hasKey = _ownerID in _temp_keys;
_oldOwner = (_ownerID == dayz_playerUID);
if(locked _cursorTarget) then {
if(_hasKey || _oldOwner) then {
_Unlock = player addAction [format[localize "STR_EPOCH_ACTIONS_UNLOCK",_text], "\z\addons\dayz_code\actions\unlock_veh.sqf",[_cursorTarget,(_temp_keys_names select (parseNumber _ownerID))], 2, true, true, "", ""];
s_player_lockunlock set [count s_player_lockunlock,_Unlock];
s_player_lockUnlock_crtl = 1;
} else {
if(_hasHotwireKit) then {
_Unlock = player addAction [format[localize "STR_EPOCH_ACTIONS_HOTWIRE",_text], "\z\addons\dayz_code\actions\hotwire_veh.sqf",_cursorTarget, 2, true, true, "", ""];
} else {
_Unlock = player addAction [format["%1",localize "STR_EPOCH_ACTIONS_VEHLOCKED"], "",_cursorTarget, 2, true, true, "", ""];
};
s_player_lockunlock set [count s_player_lockunlock,_Unlock];
s_player_lockUnlock_crtl = 1;
};
} else {
if(_hasKey || _oldOwner) then {
_lock = player addAction [format[localize "STR_EPOCH_ACTIONS_LOCK",_text], "\z\addons\dayz_code\actions\lock_veh.sqf",_cursorTarget, 1, true, true, "", ""];
s_player_lockunlock set [count s_player_lockunlock,_lock];
s_player_lockUnlock_crtl = 1;
};
};
};

} else {
{player removeAction _x} count s_player_lockunlock;s_player_lockunlock = [];
s_player_lockUnlock_crtl = -1;
};

if(DZE_AllowForceSave) then {
//Allow player to force save
if((_isVehicle || _isTent) && !_isMan) then {
if (s_player_forceSave < 0) then {
s_player_forceSave = player addAction [format[localize "str_actions_save",_text], "\z\addons\dayz_code\actions\forcesave.sqf",_cursorTarget, 1, true, true, "", ""];
};
} else {
player removeAction s_player_forceSave;
s_player_forceSave = -1;
};
};



If(DZE_AllowCargoCheck) then {
if((_isVehicle || _isTent || _isnewstorage) && _isAlive && !_isMan && !locked _cursorTarget) then {
if (s_player_checkGear < 0) then {
s_player_checkGear = player addAction [localize "STR_EPOCH_PLAYER_CARGO", "\z\addons\dayz_code\actions\cargocheck.sqf",_cursorTarget, 1, true, true, "", ""];
};
} else {
player removeAction s_player_checkGear;
s_player_checkGear = -1;
};
};


//flip vehicle small vehicles by your self && all other vehicles with help nearby
if(_player_flipveh) then {
if (s_player_flipveh < 0) then {
s_player_flipveh = player addAction [format[localize "str_actions_flipveh",_text], "\z\addons\dayz_code\actions\player_flipvehicle.sqf",_cursorTarget, 1, true, true, "", ""];
};
} else {
player removeAction s_player_flipveh;
s_player_flipveh = -1;
};

//Allow player to fill jerrycan
if((_hasFuelE || _hasFuelBarrelE) && _isFuel) then {
if (s_player_fillfuel < 0) then {
s_player_fillfuel = player addAction [localize "str_actions_self_10", "\z\addons\dayz_code\actions\jerry_fill.sqf",[], 1, false, true, "", ""];
};
} else {
player removeAction s_player_fillfuel;
s_player_fillfuel = -1;
};

// logic vars for addactions
_player_butcher = false;
_player_studybody = false;
_player_SurrenderedGear = false;

// CURSOR TARGET NOT ALIVE
if (!_isAlive) then {

// Gut animal/zed
if((_isAnimal || _isZombie) && _hasKnife) then {
_isHarvested = _cursorTarget getVariable["meatHarvested",false];
if (!_isHarvested) then {
_player_butcher = true;
};
};

// Study body
if (_isMan && !_isZombie && !_isAnimal) then {
_player_studybody = true;
}
} else {
// unit alive

// gear access on surrendered player
if(_isMan && !_isZombie && !_isAnimal) then {
_isSurrendered = _cursorTarget getVariable ["DZE_Surrendered",false];
if (_isSurrendered) then {
_player_SurrenderedGear = true;
};
};
};


// Human Gut animal || zombie
if (_player_butcher) then {
if (s_player_butcher < 0) then {
if(_isZombie) then {
s_player_butcher = player addAction [localize "STR_EPOCH_ACTIONS_GUTZOM", "\z\addons\dayz_code\actions\gather_zparts.sqf",_cursorTarget, 0, true, true, "", ""];
} else {
s_player_butcher = player addAction [localize "str_actions_self_04", "\z\addons\dayz_code\actions\gather_meat.sqf",_cursorTarget, 3, true, true, "", ""];
};
};
} else {
player removeAction s_player_butcher;
s_player_butcher = -1;
};

// Study Body
if (_player_studybody) then {
if (s_player_studybody < 0) then {
// --------ZUPA - Check Wallet --------
s_player_studybody = player addAction [(""+("Check Wallet") + ""), "gold\check_wallet.sqf",_cursorTarget, 0, false, true, "",""];
// ---- ZUPA END ---
};
} else {
player removeAction s_player_studybody;
s_player_studybody = -1;
};

// logic vars
_player_cook = false;
_player_boil = false;

// CURSOR TARGET IS FIRE
if (inflamed _cursorTarget) then {

//Fireplace Actions check
if (_hasRawMeat) then {
_player_cook = true;
};

// Boil water
if (_hasbottleitem && _hastinitem) then {
_player_boil = true;
};
};

if (_player_SurrenderedGear) then {
if (s_player_SurrenderedGear < 0) then {
s_player_SurrenderedGear = player addAction [localize "STR_EPOCH_ACTIONS_GEAR", "\z\addons\dayz_code\actions\surrender_gear.sqf",_cursorTarget, 1, true, true, "", ""];
};
} else {
player removeAction s_player_SurrenderedGear;
s_player_SurrenderedGear = -1;
};

//Fireplace Actions check
if (_player_cook) then {
if (s_player_cook < 0) then {
s_player_cook = player addAction [localize "str_actions_self_05", "\z\addons\dayz_code\actions\cook.sqf",_cursorTarget, 3, true, true, "", ""];
};
} else {
player removeAction s_player_cook;
s_player_cook = -1;
};

// Boil water
if (_player_boil) then {
if (s_player_boil < 0) then {
s_player_boil = player addAction [localize "str_actions_boilwater", "\z\addons\dayz_code\actions\boil.sqf",_cursorTarget, 3, true, true, "", ""];
};
} else {
player removeAction s_player_boil;
s_player_boil = -1;
};

if(_cursorTarget == dayz_hasFire) then {
if ((s_player_fireout < 0) && !(inflamed _cursorTarget) && (player distance _cursorTarget < 3)) then {
s_player_fireout = player addAction [localize "str_actions_self_06", "\z\addons\dayz_code\actions\fire_pack.sqf",_cursorTarget, 0, false, true, "",""];
};
} else {
player removeAction s_player_fireout;
s_player_fireout = -1;
};

//Packing my tent
if(_isTent && (player distance _cursorTarget < 3)) then {
if (_ownerID == dayz_characterID) then {
if (s_player_packtent < 0) then {
s_player_packtent = player addAction [localize "str_actions_self_07", "\z\addons\dayz_code\actions\tent_pack.sqf",_cursorTarget, 0, false, true, "",""];
};
} else {
if(("ItemJerrycan" in _magazinesPlayer) && ("ItemMatchbox_DZE" in weapons player)) then {
if (s_player_packtent < 0) then {
s_player_packtent = player addAction [localize "STR_EPOCH_ACTIONS_DESTROYTENT", "\z\addons\dayz_code\actions\remove.sqf",_cursorTarget, 1, true, true, "", ""];
};
};
};
} else {
player removeAction s_player_packtent;
s_player_packtent = -1;
};

//Allow owner to unlock vault
if((_typeOfCursorTarget in DZE_LockableStorage) && _ownerID != "0" && (player distance _cursorTarget < 3)) then {
if (s_player_unlockvault < 0) then {
if(_typeOfCursorTarget in DZE_LockedStorage) then {
if(_ownerID == dayz_combination || _ownerID == dayz_playerUID) then {
_combi = player addAction [format[localize "STR_EPOCH_ACTIONS_OPEN",_text], "\z\addons\dayz_code\actions\vault_unlock.sqf",_cursorTarget, 0, false, true, "",""];
s_player_combi set [count s_player_combi,_combi];
} else {
_combi = player addAction [format[localize "STR_EPOCH_ACTIONS_UNLOCK",_text], "\z\addons\dayz_code\actions\vault_combination_1.sqf",_cursorTarget, 0, false, true, "",""];
s_player_combi set [count s_player_combi,_combi];
};
s_player_unlockvault = 1;
} else {
if(_ownerID != dayz_combination && _ownerID != dayz_playerUID) then {
_combi = player addAction [localize "STR_EPOCH_ACTIONS_RECOMBO", "\z\addons\dayz_code\actions\vault_combination_1.sqf",_cursorTarget, 0, false, true, "",""];
s_player_combi set [count s_player_combi,_combi];
s_player_unlockvault = 1;
};
};
};
} else {
{player removeAction _x} count s_player_combi;s_player_combi = [];
s_player_unlockvault = -1;
};


//banking

if(_typeOfCursorTarget in DZE_UnLockedStorage and (player distance _cursorTarget < 3)) then {
if (s_bank_dialog < 0) then {
s_bank_dialog = player addAction ["Online Banking", "gold\bank_dialog.sqf",_cursorTarget, 3, true, true, "", ""];
};
} else {
player removeAction s_bank_dialog;
s_bank_dialog = -1;
};

// banking atm

if(_typeOfCursorTarget in DZE_ATM and (player distance _cursorTarget < 3)) then {
if (s_bank_dialog2 < 0) then {
s_bank_dialog2 = player addAction ["Bank ATM", "gold\bank_dialog.sqf",_cursorTarget, 3, true, true, "", ""];
};
} else {
player removeAction s_bank_dialog2;
s_bank_dialog2 = -1;
};



//Allow owner to pack vault
if(_typeOfCursorTarget in DZE_UnLockedStorage && _ownerID != "0" && (player distance _cursorTarget < 3)) then {

if (s_player_lockvault < 0) then {
if(_ownerID == dayz_combination || _ownerID == dayz_playerUID) then {
s_player_lockvault = player addAction [format[localize "STR_EPOCH_ACTIONS_LOCK",_text], "\z\addons\dayz_code\actions\vault_lock.sqf",_cursorTarget, 0, false, true, "",""];
};
};
if (s_player_packvault < 0 && (_ownerID == dayz_combination || _ownerID == dayz_playerUID)) then {
s_player_packvault = player addAction [format["%1",(format[localize "STR_EPOCH_ACTIONS_PACK",_text])], "\z\addons\dayz_code\actions\vault_pack.sqf",_cursorTarget, 0, false, true, "",""];
};
} else {
player removeAction s_player_packvault;
s_player_packvault = -1;
player removeAction s_player_lockvault;
s_player_lockvault = -1;
};



//Player Deaths
if(_typeOfCursorTarget == "Info_Board_EP1") then {
if (s_player_information < 0) then {
s_player_information = player addAction [localize "STR_EPOCH_ACTIONS_MURDERS", "\z\addons\dayz_code\actions\list_playerDeaths.sqf",[], 7, false, true, "",""];
};
} else {
player removeAction s_player_information;
s_player_information = -1;
};

// Zupa- SC - Give Money
if (_isMan and _isAlive and !_isZombie and !_isAnimal and !(_traderType in serverTraders)) then {
if (s_givemoney_dialog < 0) then {
s_givemoney_dialog = player addAction [format["Give Money to %1", (name _cursorTarget)], "gold\give_player_dialog.sqf",_cursorTarget, 3, true, true, "", ""];
};
} else {
player removeAction s_givemoney_dialog;
s_givemoney_dialog = -1;
};

//Fuel Pump

if (_isMan and _isAlive and !_isZombie and !_isAnimal and !(_traderType in serverTraders)) then {
if (s_givemoney_dialog < 0) then {
s_givemoney_dialog = player addAction [format["Give Money to %1", (name _cursorTarget)], "gold\give_player_dialog.sqf",_cursorTarget, 3, true, true, "", ""];
};
} else {
player removeAction s_givemoney_dialog;
s_givemoney_dialog = -1;
};

if(_typeOfCursorTarget in dayz_fuelpumparray) then {
if (s_player_fuelauto < 0) then {

// check if Generator_DZ is running within 30 meters
_findNearestGens = nearestObjects [player, ["Generator_DZ"], 30];
_findNearestGen = [];
{
if (alive _x && (_x getVariable ["GeneratorRunning", false])) then {
_findNearestGen set [(count _findNearestGen),_x];
};
} count _findNearestGens;
_IsNearRunningGen = count (_findNearestGen);

// show that pump needs power if no generator nearby.
if(_IsNearRunningGen > 0) then {
s_player_fuelauto = player addAction [localize "STR_EPOCH_ACTIONS_FILLVEH", "\z\addons\dayz_code\actions\fill_nearestVehicle.sqf",objNull, 0, false, true, "",""];
} else {
s_player_fuelauto = player addAction [format["%1",localize "STR_EPOCH_ACTIONS_NEEDPOWER"], "",[], 0, false, true, "",""];
};
};
} else {
player removeAction s_player_fuelauto;
s_player_fuelauto = -1;
};

//Fuel Pump on truck
if(_typeOfCursorTarget in DZE_fueltruckarray && alive _cursorTarget) then {
if (s_player_fuelauto2 < 0) then {
// show that fuel truck pump needs power.
if(isEngineOn _cursorTarget) then {
s_player_fuelauto2 = player addAction [localize "STR_EPOCH_ACTIONS_FILLVEH", "\z\addons\dayz_code\actions\fill_nearestVehicle.sqf",_cursorTarget, 0, false, true, "",""];
} else {
s_player_fuelauto2 = player addAction [format["%1",localize "STR_EPOCH_ACTIONS_NEEDPOWER"], "",[], 0, false, true, "",""];
};
};
} else {
player removeAction s_player_fuelauto2;
s_player_fuelauto2 = -1;
player removeAction s_givemoney_dialog;
s_givemoney_dialog = -1;
player removeAction s_bank_dialog;
s_bank_dialog = -1;
player removeAction s_bank_dialog2;
s_bank_dialog2 = -1;
};

// inplace upgrade tool
if ((_cursorTarget isKindOf "ModularItems") || (_cursorTarget isKindOf "Land_DZE_WoodDoor_Base") || (_cursorTarget isKindOf "CinderWallDoor_DZ_Base")) then {
if ((s_player_lastTarget select 0) != _cursorTarget) then {
if (s_player_upgrade_build > 0) then {
player removeAction s_player_upgrade_build;
s_player_upgrade_build = -1;
};
};
if (s_player_upgrade_build < 0) then {
// s_player_lastTarget = _cursorTarget;
s_player_lastTarget set [0,_cursorTarget];
s_player_upgrade_build = player addAction [format[localize "STR_EPOCH_ACTIONS_UPGRADE",_text], "\z\addons\dayz_code\actions\player_upgrade.sqf",_cursorTarget, -1, false, true, "",""];
};
} else {
player removeAction s_player_upgrade_build;
s_player_upgrade_build = -1;
};

// downgrade system
if((_isDestructable || _cursorTarget isKindOf "Land_DZE_WoodDoorLocked_Base" || _cursorTarget isKindOf "CinderWallDoorLocked_DZ_Base") && (DZE_Lock_Door == _ownerID)) then {
if ((s_player_lastTarget select 1) != _cursorTarget) then {
if (s_player_downgrade_build > 0) then {
player removeAction s_player_downgrade_build;
s_player_downgrade_build = -1;
};
};

if (s_player_downgrade_build < 0) then {
s_player_lastTarget set [1,_cursorTarget];
s_player_downgrade_build = player addAction [format[localize "STR_EPOCH_ACTIONS_REMLOCK",_text], "\z\addons\dayz_code\actions\player_buildingDowngrade.sqf",_cursorTarget, -2, false, true, "",""];
};
} else {
player removeAction s_player_downgrade_build;
s_player_downgrade_build = -1;
};

// inplace maintenance tool
if((_cursorTarget isKindOf "ModularItems" || _cursorTarget isKindOf "DZE_Housebase" || _typeOfCursorTarget == "LightPole_DZ") && (damage _cursorTarget >= DZE_DamageBeforeMaint)) then {
if ((s_player_lastTarget select 2) != _cursorTarget) then {
if (s_player_maint_build > 0) then {
player removeAction s_player_maint_build;
s_player_maint_build = -1;
};
};

if (s_player_maint_build < 0) then {
s_player_lastTarget set [2,_cursorTarget];
s_player_maint_build = player addAction [format[localize "STR_EPOCH_ACTIONS_MAINTAIN",_text], "\z\addons\dayz_code\actions\player_buildingMaint.sqf",_cursorTarget, -2, false, true, "",""];
};
} else {
player removeAction s_player_maint_build;
s_player_maint_build = -1;
};


//Start Generator
if(_cursorTarget isKindOf "Generator_DZ") then {
if (s_player_fillgen < 0) then {

// check if not running
if((_cursorTarget getVariable ["GeneratorRunning", false])) then {
s_player_fillgen = player addAction [localize "STR_EPOCH_ACTIONS_GENERATOR1", "\z\addons\dayz_code\actions\stopGenerator.sqf",_cursorTarget, 0, false, true, "",""];
} else {
// check if not filled && player has jerry.
if((_cursorTarget getVariable ["GeneratorFilled", false])) then {
s_player_fillgen = player addAction [localize "STR_EPOCH_ACTIONS_GENERATOR2", "\z\addons\dayz_code\actions\fill_startGenerator.sqf",_cursorTarget, 0, false, true, "",""];
} else {
if("ItemJerrycan" in _magazinesPlayer) then {
s_player_fillgen = player addAction [localize "STR_EPOCH_ACTIONS_GENERATOR3", "\z\addons\dayz_code\actions\fill_startGenerator.sqf",_cursorTarget, 0, false, true, "",""];
};
};
};
};
} else {
player removeAction s_player_fillgen;
s_player_fillgen = -1;
};

//Towing with tow truck
/*
if(_typeOfCursorTarget == "TOW_DZE") then {
if (s_player_towing < 0) then {
if(!(_cursorTarget getVariable ["DZEinTow", false])) then {
s_player_towing = player addAction [localize "STR_EPOCH_ACTIONS_ATTACH" "\z\addons\dayz_code\actions\tow_AttachStraps.sqf",_cursorTarget, 0, false, true, "",""];
} else {
s_player_towing = player addAction [localize "STR_EPOCH_ACTIONS_DETACH", "\z\addons\dayz_code\actions\tow_DetachStraps.sqf",_cursorTarget, 0, false, true, "",""];
};
};
} else {
player removeAction s_player_towing;
s_player_towing = -1;
};
*/


//Sleep
if(_isTent && _ownerID == dayz_characterID) then {
if ((s_player_sleep < 0) && (player distance _cursorTarget < 3)) then {
s_player_sleep = player addAction [localize "str_actions_self_sleep", "\z\addons\dayz_code\actions\player_sleep.sqf",_cursorTarget, 0, false, true, "",""];
};
} else {
player removeAction s_player_sleep;
s_player_sleep = -1;
};

//Repairing Vehicles
if ((dayz_myCursorTarget != _cursorTarget) && _isVehicle && !_isMan && _hasToolbox && (damage _cursorTarget < 1) && !_isDisallowRepair) then {
if (s_player_repair_crtl < 0) then {
dayz_myCursorTarget = _cursorTarget;
_menu = dayz_myCursorTarget addAction [localize "STR_EPOCH_PLAYER_REPAIRV", "\z\addons\dayz_code\actions\repair_vehicle.sqf",_cursorTarget, 0, true, false, "",""];
_menu1 = dayz_myCursorTarget addAction [localize "STR_EPOCH_PLAYER_SALVAGEV", "\z\addons\dayz_code\actions\salvage_vehicle.sqf",_cursorTarget, 0, true, false, "",""];
s_player_repairActions set [count s_player_repairActions,_menu];
s_player_repairActions set [count s_player_repairActions,_menu1];
s_player_repair_crtl = 1;
} else {
{dayz_myCursorTarget removeAction _x} count s_player_repairActions;s_player_repairActions = [];
s_player_repair_crtl = -1;
};
};

// All Traders
if (_isMan && !_isPZombie && _traderType in serverTraders) then {

if (s_player_parts_crtl < 0) then {

// get humanity
_humanity = player getVariable ["humanity",0];
_traderMenu = call compile format["menu_%1;",_traderType];

// diag_log ("TRADER = " + str(_traderMenu));

_low_high = "low";
_humanity_logic = false;
if((_traderMenu select 2) == "friendly") then {
_humanity_logic = (_humanity < -5000);
};
if((_traderMenu select 2) == "hostile") then {
_low_high = "high";
_humanity_logic = (_humanity > -5000);
};
if((_traderMenu select 2) == "hero") then {
_humanity_logic = (_humanity < 5000);
};
if(_humanity_logic) then {
_cancel = player addAction [format[localize "STR_EPOCH_ACTIONS_HUMANITY",_low_high], "\z\addons\dayz_code\actions\trade_cancel.sqf",["na"], 0, true, false, "",""];
s_player_parts set [count s_player_parts,_cancel];
} else {

// Static Menu
{
//diag_log format["DEBUG TRADER: %1", _x];
_buy = player addAction [format["Trade %1 %2 for %3 %4",(_x select 3),(_x select 5),(_x select 2),(_x select 6)], "\z\addons\dayz_code\actions\trade_items_wo_db.sqf",[(_x select 0),(_x select 1),(_x select 2),(_x select 3),(_x select 4),(_x select 5),(_x select 6)], (_x select 7), true, true, "",""];
s_player_parts set [count s_player_parts,_buy];

} count (_traderMenu select 1);
// Database menu
_buy = player addAction [localize "STR_EPOCH_PLAYER_289", "\z\addons\dayz_code\actions\show_dialog.sqf",(_traderMenu select 0), 999, true, false, "",""];
s_player_parts set [count s_player_parts,_buy];

};
s_player_parts_crtl = 1;

};
} else {
{player removeAction _x} count s_player_parts;s_player_parts = [];
s_player_parts_crtl = -1;
};


if(dayz_tameDogs) then {

//Dog
if (_isDog && _isAlive && (_hasRawMeat) && _ownerID == "0" && player getVariable ["dogID", 0] == 0) then {
if (s_player_tamedog < 0) then {
s_player_tamedog = player addAction [localize "str_actions_tamedog", "\z\addons\dayz_code\actions\tame_dog.sqf", _cursorTarget, 1, false, true, "", ""];
};
} else {
player removeAction s_player_tamedog;
s_player_tamedog = -1;
};
if (_isDog && _ownerID == dayz_characterID && _isAlive) then {
_dogHandle = player getVariable ["dogID", 0];
if (s_player_feeddog < 0 && _hasRawMeat) then {
s_player_feeddog = player addAction [localize "str_actions_feeddog","\z\addons\dayz_code\actions\dog\feed.sqf",[_dogHandle,0], 0, false, true,"",""];
};
if (s_player_waterdog < 0 && "ItemWaterbottle" in _magazinesPlayer) then {
s_player_waterdog = player addAction [localize "str_actions_waterdog","\z\addons\dayz_code\actions\dog\feed.sqf",[_dogHandle,1], 0, false, true,"",""];
};
if (s_player_staydog < 0) then {
_lieDown = _dogHandle getFSMVariable "_actionLieDown";
if (_lieDown) then { _text = "str_actions_liedog"; } else { _text = "str_actions_sitdog"; };
s_player_staydog = player addAction [localize _text,"\z\addons\dayz_code\actions\dog\stay.sqf", _dogHandle, 5, false, true,"",""];
};
if (s_player_trackdog < 0) then {
s_player_trackdog = player addAction [localize "str_actions_trackdog","\z\addons\dayz_code\actions\dog\track.sqf", _dogHandle, 4, false, true,"",""];
};
if (s_player_barkdog < 0) then {
s_player_barkdog = player addAction [localize "str_actions_barkdog","\z\addons\dayz_code\actions\dog\speak.sqf", _cursorTarget, 3, false, true,"",""];
};
if (s_player_warndog < 0) then {
_warn = _dogHandle getFSMVariable "_watchDog";
if (_warn) then { _text = (localize "str_epoch_player_247"); _warn = false; } else { _text = (localize "str_epoch_player_248"); _warn = true; };
s_player_warndog = player addAction [format[localize "str_actions_warndog",_text],"\z\addons\dayz_code\actions\dog\warn.sqf",[_dogHandle, _warn], 2, false, true,"",""];
};
if (s_player_followdog < 0) then {
s_player_followdog = player addAction [localize "str_actions_followdog","\z\addons\dayz_code\actions\dog\follow.sqf",[_dogHandle,true], 6, false, true,"",""];
};
} else {
player removeAction s_player_feeddog;
s_player_feeddog = -1;
player removeAction s_player_waterdog;
s_player_waterdog = -1;
player removeAction s_player_staydog;
s_player_staydog = -1;
player removeAction s_player_trackdog;
s_player_trackdog = -1;
player removeAction s_player_barkdog;
s_player_barkdog = -1;
player removeAction s_player_warndog;
s_player_warndog = -1;
player removeAction s_player_followdog;
s_player_followdog = -1;
};
};

} else {
//Engineering
{dayz_myCursorTarget removeAction _x} count s_player_repairActions;s_player_repairActions = [];
s_player_repair_crtl = -1;

{player removeAction _x} count s_player_combi;s_player_combi = [];

dayz_myCursorTarget = objNull;
s_player_lastTarget = [objNull,objNull,objNull,objNull,objNull];

{player removeAction _x} count s_player_parts;s_player_parts = [];
s_player_parts_crtl = -1;

{player removeAction _x} count s_player_lockunlock;s_player_lockunlock = [];
s_player_lockUnlock_crtl = -1;

player removeAction s_player_checkGear;
s_player_checkGear = -1;

player removeAction s_player_SurrenderedGear;
s_player_SurrenderedGear = -1;

//Others
player removeAction s_player_forceSave;
s_player_forceSave = -1;
player removeAction s_player_flipveh;
s_player_flipveh = -1;
player removeAction s_player_sleep;
s_player_sleep = -1;
player removeAction s_player_deleteBuild;
s_player_deleteBuild = -1;
player removeAction s_player_butcher;
s_player_butcher = -1;
player removeAction s_player_cook;
s_player_cook = -1;
player removeAction s_player_boil;
s_player_boil = -1;
player removeAction s_player_fireout;
s_player_fireout = -1;
player removeAction s_player_packtent;
s_player_packtent = -1;
player removeAction s_player_fillfuel;
s_player_fillfuel = -1;
player removeAction s_player_studybody;
s_player_studybody = -1;
//Dog
player removeAction s_player_tamedog;
s_player_tamedog = -1;
player removeAction s_player_feeddog;
s_player_feeddog = -1;
player removeAction s_player_waterdog;
s_player_waterdog = -1;
player removeAction s_player_staydog;
s_player_staydog = -1;
player removeAction s_player_trackdog;
s_player_trackdog = -1;
player removeAction s_player_barkdog;
s_player_barkdog = -1;
player removeAction s_player_warndog;
s_player_warndog = -1;
player removeAction s_player_followdog;
s_player_followdog = -1;

// vault
player removeAction s_player_unlockvault;
s_player_unlockvault = -1;
player removeAction s_player_packvault;
s_player_packvault = -1;
player removeAction s_player_lockvault;
s_player_lockvault = -1;

player removeAction s_player_information;
s_player_information = -1;
player removeAction s_player_fillgen;
s_player_fillgen = -1;
player removeAction s_player_upgrade_build;
s_player_upgrade_build = -1;
player removeAction s_player_maint_build;
s_player_maint_build = -1;
player removeAction s_player_downgrade_build;
s_player_downgrade_build = -1;
player removeAction s_player_towing;
s_player_towing = -1;
player removeAction s_player_fuelauto;
s_player_fuelauto = -1;
player removeAction s_player_fuelauto2;
s_player_fuelauto2 = -1;

// Zupa - SC - reset.
player removeAction s_givemoney_dialog;
s_givemoney_dialog = -1;
player removeAction s_bank_dialog;
s_bank_dialog = -1;
player removeAction s_bank_dialog2;
s_bank_dialog2 = -1;
player removeAction s_player_packOBJ;
s_player_packOBJ = -1;


};



//Dog actions on player self
_dogHandle = player getVariable ["dogID", 0];
if (_dogHandle > 0) then {
_dog = _dogHandle getFSMVariable "_dog";
_ownerID = "0";
if (!isNull cursorTarget) then { _ownerID = cursorTarget getVariable ["CharacterID","0"]; };
if (_canDo && !_inVehicle && alive _dog && _ownerID != dayz_characterID) then {
if (s_player_movedog < 0) then {
s_player_movedog = player addAction [localize "str_actions_movedog", "\z\addons\dayz_code\actions\dog\move.sqf", player getVariable ["dogID", 0], 1, false, true, "", ""];
};
if (s_player_speeddog < 0) then {
_text = (localize "str_epoch_player_249");
_speed = 0;
if (_dog getVariable ["currentSpeed",1] == 0) then { _speed = 1; _text = (localize "str_epoch_player_250"); };
s_player_speeddog = player addAction [format[localize "str_actions_speeddog", _text], "\z\addons\dayz_code\actions\dog\speed.sqf",[player getVariable ["dogID", 0],_speed], 0, false, true, "", ""];
};
if (s_player_calldog < 0) then {
s_player_calldog = player addAction [localize "str_actions_calldog", "\z\addons\dayz_code\actions\dog\follow.sqf", [player getVariable ["dogID", 0], true], 2, false, true, "", ""];
};
};
} else {
player removeAction s_player_movedog;
s_player_movedog = -1;
player removeAction s_player_speeddog;
s_player_speeddog = -1;
player removeAction s_player_calldog;
s_player_calldog = -1;
};

//--------------------------------------Deploy Bike----------------------------------
//-----------------------------------------Start--------------------------------------
_weapons = [currentWeapon player] + (weapons player) + (magazines player);
_isBike = typeOf cursorTarget in ["MMT_Civ"];

//BIKE DEPLOY
if ("ItemToolbox" in _weapons) then {
hasBikeItem = true;
} else { hasBikeItem = false;};
if((speed player <= 1) && hasBikeItem && _canDo) then {
if (s_player_deploybike < 0) then {
s_player_deploybike = player addaction[("" + ("Deploy Bike") +""),"deployables\mtbike\deploy.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploybike;
s_player_deploybike = -1;
};

//PACK BIKE
if((_isBike && "ItemToolbox" in _weapons && (player distance cursorTarget < 10)) and _canDo) then {
if (s_player_deploybike2 < 0) then {
s_player_deploybike2 = player addaction[("" + ("Re-Pack Bike") +""),"deployables\mtbike\pack.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploybike2;
s_player_deploybike2 = -1;
};
//Pack Vehicles
_isPackable = _typeOfCursorTarget in ["MMT_Civ","TT650_Civ","CSJ_GyroC","MH6J_EP1"];
if (_isPackable and _hasToolbox and !(locked _cursorTarget) and (damage _cursorTarget < 1)) then {
if (s_player_packvehicle < 0) then {
s_player_packvehicle = player addAction ["Pack Vehicle", "custom\deployables\pack.sqf",_cursorTarget, 0, false, true, "",""];
};
} else {
player removeAction s_player_packvehicle;
s_player_packvehicle = -1;
};
//--------------------------------------Deploy Bike----------------------------------
//------------------------------------------End--------------------------------------

//--------------------------------------Deploy Moped----------------------------------
//------------------------------------------Start-------------------------------------
_weapons = [currentWeapon player] + (weapons player) + (magazines player);
_isMoped = typeOf cursorTarget in ["TT650_Civ"];

//MOPED DEPLOY
if ("ItemToolbox" in _weapons && "PartGeneric" in _mags && "PartGeneric" in _mags && "PartEngine" in _mags && "PartWheel" in _mags && "PartWheel" in _mags) then {
hasMopedItem = true;
} else { hasMopedItem = false;};
if((speed player <= 1) && hasMopedItem && _canDo) then {
if (s_player_deploymoped < 0) then {
s_player_deploymoped = player addaction[("" + ("Deploy Moped") +""),"deployables\moped\deploy.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploymoped;
s_player_deploymoped = -1;
};

//PACK MOPED
if((_isMoped && "ItemToolbox" in _weapons && (player distance cursorTarget < 10)) and _canDo) then {
if (s_player_deploymoped2 < 0) then {
s_player_deploymoped2 = player addaction[("" + ("Re-Pack Moped") +""),"deployables\moped\pack.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploymoped2;
s_player_deploymoped2 = -1;
};
//--------------------------------------Deploy Moped-----------------------------------
//-------------------------------------------End---------------------------------------

//--------------------------------------Deploy Mozzie----------------------------------
//------------------------------------------Start--------------------------------------
_weapons = [currentWeapon player] + (weapons player) + (magazines player);
_isMozzie = typeOf cursorTarget in ["CSJ_GyroC"];

//MOZZIE DEPLOY
if ("ItemToolbox" in _weapons && "PartGeneric" in _mags && "PartGeneric" in _mags && "PartEngine" in _mags && "ItemJerrycan" in _mags && "PartVRotor" in _mags) then {
hasMozzieItem = true;
} else { hasMozzieItem = false;};
if((speed player <= 1) && hasMozzieItem && _canDo) then {
if (s_player_deploymozzie < 0) then {
s_player_deploymozzie = player addaction[("" + ("Deploy Mozzie") +""),"deployables\mozzie\deploy.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploymozzie;
s_player_deploymozzie = -1;
};

//PACK MOZZIE
if((_isMozzie && "ItemToolbox" in _weapons && (player distance cursorTarget < 10)) and _canDo) then {
if (s_player_deploymozzie2 < 0) then {
s_player_deploymozzie2 = player addaction[("" + ("Re-Pack Mozzie") +""),"deployables\mozzie\pack.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploymozzie2;
s_player_deploymozzie2 = -1;
};
//--------------------------------------Deploy Mozzie-----------------------------------
//--------------------------------------------End---------------------------------------

//--------------------------------------Deploy Little Bird-----------------------------
//---------------------------------------------Start-----------------------------------
_weapons = [currentWeapon player] + (weapons player) + (magazines player);
_isBird = typeOf cursorTarget in ["MH6J_EP1"];

//BIRD DEPLOY
if ("ItemToolbox" in _weapons && "PartGeneric" in _mags && "PartGeneric" in _mags && "PartEngine" in _mags && "PartFueltank" in _mags && "PartVRotor" in _mags && "ItemFuelBarrel" in _mags && "PartGlass" in _mags && "PartGlass" in _mags) then {
hasBirdItem = true;
} else { hasBirdItem = false;};
if((speed player <= 1) && hasBirdItem && _canDo) then {
if (s_player_deploybird < 0) then {
s_player_deploybird = player addaction[("" + ("Deploy Little Bird") +""),"deployables\bird\deploy.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploybird;
s_player_deploybird = -1;
};

//PACK BIRD
if((_isBird && "ItemToolbox" in _weapons && (player distance cursorTarget < 10)) and _canDo) then {
if (s_player_deploybird2 < 0) then {
s_player_deploybird2 = player addaction[("" + ("Re-Pack Little Bird") +""),"deployables\bird\pack.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploybird2;
s_player_deploybird2 = -1;
};
//--------------------------------------Deploy Little Bird----------------------------------
//-----------------------------------------------End----------------------------------------​

Link to comment
Share on other sites

ok do you have something like this in your variables.sqf?

//-----------------------------------Currency & Banking Configs ---------------------------------//
CurrencyName = "Zupa Coins"; // name of your currency
DZE_ATM = ["Laptop_EP1"]; // items,objects classnames where u can bank.
LimitOnBank = false; // false = no limits, true = banks are limited on the value below
MaxBankMoney = 500000; // limit on bank for normal players
DonatorListZupa = ["0","0"]; // bigger bank PUID
MaxDonatorBankMoney = 1000000; // Bank size donators

//-----------------------------------Currency & Banking Configs END ---------------------------------//
Link to comment
Share on other sites

disableSerialization;

DZE_ATM = ["Laptop_EP1"]; // objects where u can bank, add them here if u want extra's.


//-----------------------------------Currency & Banking Configs ---------------------------------//
CurrencyName = "Zupa Coins"; // name of your currency
DZE_ATM = ["Laptop_EP1"]; // items,objects classnames where u can bank.
LimitOnBank = false; // false = no limits, true = banks are limited on the value below
MaxBankMoney = 500000; // limit on bank for normal players
DonatorListZupa = ["76561198012464696","111111111"]; // bigger bank PUID
MaxDonatorBankMoney = 1000000; // Bank size donators

//-----------------------------------Currency & Banking Configs END ---------------------------------//

 

 

 

 

 

can anyone help me????

Link to comment
Share on other sites

yes here is bank sqf

 


_vehicle_23090000 = objNull;
if (true) then
{
_this = createVehicle ["SmallTable", [6776.0156, 2491.3271, 0.41503948], [], 0, "CAN_COLLIDE"];
_vehicle_23090000 = _this;
_this setDir -50.98856;
_this setPos [6776.0156, 2491.3271, 0.41503948];
};

_vehicle_230100000 = objNull;
if (true) then
{
_this = createVehicle ["Laptop_EP1", [6776.0112, 2491.3359, 1.2162828], [], 0, "CAN_COLLIDE"];
_vehicle_230100000 = _this;
_this setDir 131.15681;
_this setPos [6776.0112, 2491.3359, 1.2162828];
};

_vehicle_230120000 = objNull;
if (true) then
{
_this = createVehicle ["Plastic_Pole_EP1_DZ", [6777.647, 2493.4102, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230120000 = _this;
_this setDir 134.01509;
_this setPos [6777.647, 2493.4102, 3.8146973e-006];
};

_vehicle_230130000 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [6780.5977, 2502.2583, 6.7710876e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230130000 = _this;
_this setDir 42.358196;
_this setPos [6780.5977, 2502.2583, 6.7710876e-005];
};

_vehicle_23015000= objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [6778.458, 2504.2102, -2.8610229e-006], [], 0, "CAN_COLLIDE"];
_vehicle_23015000 = _this;
_this setDir 42.358196;
_this setPos [6778.458, 2504.2102, -2.8610229e-006];
};

_vehicle_230180000 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [6771.3525, 2510.519, 2.8610229e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230180000 = _this;
_this setDir 42.358196;
_this setPos [6771.3525, 2510.519, 2.8610229e-005];
};

_vehicle_23022 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [6769.1929, 2512.521, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
_vehicle_23022 = _this;
_this setDir 42.358196;
_this setPos [6769.1929, 2512.521, 2.0980835e-005];
};

_vehicle_23025 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [6773.5674, 2508.5103, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_23025 = _this;
_this setDir 42.358196;
_this setPos [6773.5674, 2508.5103, 3.0517578e-005];
};

_vehicle_23028 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [6765.4233, 2485.8162, 8.5830688e-006], [], 0, "CAN_COLLIDE"];
_vehicle_23028 = _this;
_this setDir 42.358196;
_this setPos [6765.4233, 2485.8162, 8.5830688e-006];
};

_vehicle_23030 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [6763.314, 2487.7261, 9.5367432e-007], [], 0, "CAN_COLLIDE"];
_vehicle_23030 = _this;
_this setDir 42.358196;
_this setPos [6763.314, 2487.7261, 9.5367432e-007];
};

_vehicle_23032 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [6756.6035, 2493.7358, 3.8146973e-005], [], 0, "CAN_COLLIDE"];
_vehicle_23032 = _this;
_this setDir 42.358196;
_this setPos [6756.6035, 2493.7358, 3.8146973e-005];
};

_vehicle_23034 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [6754.4321, 2495.7175, 1.0490417e-005], [], 0, "CAN_COLLIDE"];
_vehicle_23034 = _this;
_this setDir 42.358196;
_this setPos [6754.4321, 2495.7175, 1.0490417e-005];
};

_vehicle_23036 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [6758.7661, 2491.7551, 2.8610229e-006], [], 0, "CAN_COLLIDE"];
_vehicle_23036 = _this;
_this setDir 42.358196;
_this setPos [6758.7661, 2491.7551, 2.8610229e-006];
};

_vehicle_23039 = objNull;
if (true) then
{
_this = createVehicle ["CanvasHut_DZ", [6774.4517, 2492.5811, -4.7683716e-006], [], 0, "CAN_COLLIDE"];
_vehicle_23039 = _this;
_this setDir -228.76234;
_this setPos [6774.4517, 2492.5811, -4.7683716e-006];
};

_vehicle_23040 = objNull;
if (true) then
{
_this = createVehicle ["Land_BagFenceLong", [6776.2378, 2493.9753, 9.5367432e-007], [], 0, "CAN_COLLIDE"];
_vehicle_23040 = _this;
_this setDir 41.883816;
_this setPos [6776.2378, 2493.9753, 9.5367432e-007];
};

_vehicle_23042 = objNull;
if (true) then
{
_this = createVehicle ["Land_BagFenceLong", [6773.356, 2490.8384, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
_vehicle_23042 = _this;
_this setDir 41.883816;
_this setPos [6773.356, 2490.8384, -1.5258789e-005];
};

_vehicle_23045 = objNull;
if (true) then
{
_this = createVehicle ["FireBarrel_DZ", [6771.8096, 2489.886, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
_vehicle_23045 = _this;
_this setPos [6771.8096, 2489.886, -7.6293945e-006];
};

_vehicle_23049 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [6758.7114, 2487.3005, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
_vehicle_23049 = _this;
_this setPos [6758.7114, 2487.3005, 3.8146973e-006];
};

_vehicle_23050 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog", [6778.1108, 2508.5854, 1.335144e-005], [], 0, "CAN_COLLIDE"];
_vehicle_23050 = _this;
_this setPos [6778.1108, 2508.5854, 1.335144e-005];
};

_vehicle_23053 = objNull;
if (true) then
{
_this = createVehicle ["Misc_Backpackheap", [6777.3623, 2495.3726, 2.4795532e-005], [], 0, "CAN_COLLIDE"];
_vehicle_23053 = _this;
_this setPos [6777.3623, 2495.3726, 2.4795532e-005];
};

_vehicle_23055 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [6761.1299, 2489.6812, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
_vehicle_23055 = _this;
_this setDir 42.473782;
_this setPos [6761.1299, 2489.6812, 1.9073486e-006];
};

_vehicle_23057 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [6776.0107, 2506.2722, 2.8610229e-006], [], 0, "CAN_COLLIDE"];
_vehicle_23057 = _this;
_this setDir 225.09406;
_this setPos [6776.0107, 2506.2722, 2.8610229e-006];
};

_vehicle_23065 = objNull;
if (true) then
{
_this = createVehicle ["SignM_UN_Base_EP1", [6762.5928, 2503.905, 3.4332275e-005], [], 0, "CAN_COLLIDE"];
_vehicle_23065 = _this;
_this setDir -48.669113;
_this setPos [6762.5928, 2503.905, 3.4332275e-005];
};


_vehicle_23091 = objNull;
if (true) then
{
_this = createVehicle ["SmallTable", [10005.671, 1861.8147, -0.17868471], [], 0, "CAN_COLLIDE"];
_vehicle_23091 = _this;
_this setDir -182.49422;
_this setPos [10005.671, 1861.8147, -0.17868471];
};

_vehicle_23092 = objNull;
if (true) then
{
_this = createVehicle ["Laptop_EP1", [10005.678, 1861.6836, 0.61099607], [], 0, "CAN_COLLIDE"];
_vehicle_23092 = _this;
_this setDir -0.34882647;
_this setPos [10005.678, 1861.6836, 0.61099607];
};

_vehicle_23093 = objNull;
if (true) then
{
_this = createVehicle ["Plastic_Pole_EP1_DZ", [10002.967, 1862.7682, 9.059906e-006], [], 0, "CAN_COLLIDE"];
_vehicle_23093 = _this;
_this setDir 2.5094688;
_this setPos [10002.967, 1862.7682, 9.059906e-006];
};

_vehicle_23094 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [9994.0625, 1861.2338, 7.2956085e-005], [], 0, "CAN_COLLIDE"];
_vehicle_23094 = _this;
_this setDir -89.147461;
_this setPos [9994.0625, 1861.2338, 7.2956085e-005];
};

_vehicle_23095 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [9993.9648, 1858.3453, 2.3841858e-006], [], 0, "CAN_COLLIDE"];
_vehicle_23095 = _this;
_this setDir -89.147461;
_this setPos [9993.9648, 1858.3453, 2.3841858e-006];
};

_vehicle_23096 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [9993.7324, 1848.8206, 3.3855438e-005], [], 0, "CAN_COLLIDE"];
_vehicle_23096 = _this;
_this setDir -89.147461;
_this setPos [9993.7324, 1848.8206, 3.3855438e-005];
};

_vehicle_23097 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [9994.9678, 1846.7585, 2.6226044e-005], [], 0, "CAN_COLLIDE"];
_vehicle_23097 = _this;
_this setDir 17.0049;
_this setPos [9994.9678, 1846.7585, 2.6226044e-005];
};

_vehicle_23098 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [9993.8115, 1851.8735, 3.5762787e-005], [], 0, "CAN_COLLIDE"];
_vehicle_23098 = _this;
_this setDir -89.147461;
_this setPos [9993.8115, 1851.8735, 3.5762787e-005];
};

_vehicle_23099 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [10003.691, 1846.1594, 1.3828278e-005], [], 0, "CAN_COLLIDE"];
_vehicle_23099 = _this;
_this setDir -178.44003;
_this setPos [10003.691, 1846.1594, 1.3828278e-005];
};

_vehicle_230100 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [9997.7725, 1846.3827, 6.1988831e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230100 = _this;
_this setDir -177.45163;
_this setPos [9997.7725, 1846.3827, 6.1988831e-006];
};

_vehicle_230101 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [10013.101, 1846.0486, 4.3392181e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230101 = _this;
_this setDir 0.44434634;
_this setPos [10013.101, 1846.0486, 4.3392181e-005];
};

_vehicle_230102 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [10010.168, 1846.1804, 1.5735626e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230102 = _this;
_this setDir -179.31085;
_this setPos [10010.168, 1846.1804, 1.5735626e-005];
};

_vehicle_230103 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [10000.723, 1846.1522, 8.1062317e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230103 = _this;
_this setDir -1.4963565;
_this setPos [10000.723, 1846.1522, 8.1062317e-006];
};

_vehicle_230104 = objNull;
if (true) then
{
_this = createVehicle ["CanvasHut_DZ", [10005.708, 1860.92, 4.7683716e-007], [], 0, "CAN_COLLIDE"];
_vehicle_230104 = _this;
_this setDir -360.26797;
_this setPos [10005.708, 1860.92, 4.7683716e-007];
};

_vehicle_230105 = objNull;
if (true) then
{
_this = createVehicle ["Land_BagFenceLong", [10003.474, 1861.3344, 6.1988831e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230105 = _this;
_this setDir -89.621864;
_this setPos [10003.474, 1861.3344, 6.1988831e-006];
};

_vehicle_230106 = objNull;
if (true) then
{
_this = createVehicle ["Land_BagFenceLong", [10007.733, 1861.2539, -1.001358e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230106 = _this;
_this setDir -89.621864;
_this setPos [10007.733, 1861.2539, -1.001358e-005];
};

_vehicle_230107 = objNull;
if (true) then
{
_this = createVehicle ["FireBarrel_DZ", [10009.474, 1860.7286, -2.3841858e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230107 = _this;
_this setDir -131.50572;
_this setPos [10009.474, 1860.7286, -2.3841858e-006];
};

_vehicle_230108 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [10006.555, 1843.4607, 9.059906e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230108 = _this;
_this setDir -131.50572;
_this setPos [10006.555, 1843.4607, 9.059906e-006];
};

_vehicle_230109 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog", [9990.1064, 1855.652, 1.8596649e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230109 = _this;
_this setDir -131.50572;
_this setPos [9990.1064, 1855.652, 1.8596649e-005];
};

_vehicle_230110 = objNull;
if (true) then
{
_this = createVehicle ["Misc_Backpackheap", [10001.688, 1861.2487, 3.0040741e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230110 = _this;
_this setDir -131.50572;
_this setPos [10001.688, 1861.2487, 3.0040741e-005];
};

_vehicle_230111 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [10006.975, 1846.1215, 7.1525574e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230111 = _this;
_this setDir 0.95682734;
_this setPos [10006.975, 1846.1215, 7.1525574e-006];
};

_vehicle_230112 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [9993.8594, 1855.0973, 8.1062317e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230112 = _this;
_this setDir 93.588394;
_this setPos [9993.8594, 1855.0973, 8.1062317e-006];
};

_vehicle_230113 = objNull;
if (true) then
{
_this = createVehicle ["SignM_UN_Base_EP1", [10014.234, 1851.498, 3.9577484e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230113 = _this;
_this setDir -269.22287;
_this setPos [10014.234, 1851.498, 3.9577484e-005];
};


_vehicle_230184 = objNull;
if (true) then
{
_this = createVehicle ["SmallTable", [12214.169, 9731.8965, -0.17867279], [], 0, "CAN_COLLIDE"];
_vehicle_230184 = _this;
_this setDir -172.87807;
_this setPos [12214.169, 9731.8965, -0.17867279];
};

_vehicle_230185 = objNull;
if (true) then
{
_this = createVehicle ["Laptop_EP1", [12214.157, 9731.7646, 0.61100769], [], 0, "CAN_COLLIDE"];
_vehicle_230185 = _this;
_this setDir 9.2673454;
_this setPos [12214.157, 9731.7646, 0.61100769];
};

_vehicle_230186 = objNull;
if (true) then
{
_this = createVehicle ["Plastic_Pole_EP1_DZ", [12211.662, 9733.2871, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230186 = _this;
_this setDir 12.125639;
_this setPos [12211.662, 9733.2871, 2.0980835e-005];
};

_vehicle_230187 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12202.621, 9733.2607, 8.392334e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230187 = _this;
_this setDir -79.531281;
_this setPos [12202.621, 9733.2607, 8.392334e-005];
};

_vehicle_230188 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12202.048, 9730.4287, 1.335144e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230188 = _this;
_this setDir -79.531281;
_this setPos [12202.048, 9730.4287, 1.335144e-005];
};

_vehicle_230189 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12200.224, 9721.083, 4.5776367e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230189 = _this;
_this setDir -79.531281;
_this setPos [12200.224, 9721.083, 4.5776367e-005];
};

_vehicle_230190 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12201.105, 9718.8389, 3.8146973e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230190 = _this;
_this setDir 26.621073;
_this setPos [12201.105, 9718.8389, 3.8146973e-005];
};

_vehicle_230191 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12200.82, 9724.0752, 4.7683716e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230191 = _this;
_this setDir -79.531281;
_this setPos [12200.82, 9724.0752, 4.7683716e-005];
};

_vehicle_230192 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12209.604, 9716.7959, 2.4795532e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230192 = _this;
_this setDir -168.82388;
_this setPos [12209.604, 9716.7959, 2.4795532e-005];
};

_vehicle_230193 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12203.809, 9718.0039, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230193 = _this;
_this setDir -167.83548;
_this setPos [12203.809, 9718.0039, 1.7166138e-005];
};

_vehicle_230194 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12218.862, 9715.1094, 5.531311e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230194 = _this;
_this setDir 10.060517;
_this setPos [12218.862, 9715.1094, 5.531311e-005];
};

_vehicle_230195 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12215.998, 9715.7266, 2.6702881e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230195 = _this;
_this setDir -169.6947;
_this setPos [12215.998, 9715.7266, 2.6702881e-005];
};

_vehicle_230196 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12206.676, 9717.2813, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230196 = _this;
_this setDir 8.1198149;
_this setPos [12206.676, 9717.2813, 1.9073486e-005];
};

_vehicle_230197 = objNull;
if (true) then
{
_this = createVehicle ["CanvasHut_DZ", [12214.054, 9731.0068, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230197 = _this;
_this setDir -350.65186;
_this setPos [12214.054, 9731.0068, 1.1444092e-005];
};

_vehicle_230198 = objNull;
if (true) then
{
_this = createVehicle ["Land_BagFenceLong", [12211.926, 9731.791, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230198 = _this;
_this setDir -80.005684;
_this setPos [12211.926, 9731.791, 1.7166138e-005];
};

_vehicle_230199 = objNull;
if (true) then
{
_this = createVehicle ["Land_BagFenceLong", [12216.104, 9730.9961, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230199 = _this;
_this setDir -80.005684;
_this setPos [12216.104, 9730.9961, 1.9073486e-006];
};

_vehicle_230200 = objNull;
if (true) then
{
_this = createVehicle ["FireBarrel_DZ", [12217.736, 9730.1924, 9.5367432e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230200 = _this;
_this setDir -121.88952;
_this setPos [12217.736, 9730.1924, 9.5367432e-006];
};

_vehicle_230201 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [12211.981, 9713.6572, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230201 = _this;
_this setDir -121.88952;
_this setPos [12211.981, 9713.6572, 2.0980835e-005];
};

_vehicle_230202 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog", [12197.792, 9728.4238, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230202 = _this;
_this setDir -121.88952;
_this setPos [12197.792, 9728.4238, 3.0517578e-005];
};

_vehicle_230203 = objNull;
if (true) then
{
_this = createVehicle ["Misc_Backpackheap", [12210.154, 9732.0088, 4.196167e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230203 = _this;
_this setDir -121.88952;
_this setPos [12210.154, 9732.0088, 4.196167e-005];
};

_vehicle_230204 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [12212.833, 9716.208, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230204 = _this;
_this setDir 10.572998;
_this setPos [12212.833, 9716.208, 1.9073486e-005];
};

_vehicle_230205 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [12201.402, 9727.2432, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230205 = _this;
_this setDir 103.20462;
_this setPos [12201.402, 9727.2432, 1.9073486e-005];
};

_vehicle_230206 = objNull;
if (true) then
{
_this = createVehicle ["SignM_UN_Base_EP1", [12220.896, 9720.2939, 5.1498413e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230206 = _this;
_this setDir -259.60675;
_this setPos [12220.896, 9720.2939, 5.1498413e-005];
};

_vehicle_230238 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12220.818, 9715.8496, 3.2424927e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230238 = _this;
_this setDir -62.44529;
_this setPos [12220.818, 9715.8496, 3.2424927e-005];
};

_vehicle_230239 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12222.998, 9724.3164, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230239 = _this;
_this setDir -257.8902;
_this setPos [12222.998, 9724.3164, 1.9073486e-005];
};

_vehicle_230240 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12221.691, 9718.5381, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230240 = _this;
_this setDir -256.90192;
_this setPos [12221.691, 9718.5381, 1.1444092e-005];
};

_vehicle_230241 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12224.834, 9733.542, 4.9591064e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230241 = _this;
_this setDir -79.005844;
_this setPos [12224.834, 9733.542, 4.9591064e-005];
};

_vehicle_230242 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12224.176, 9730.6865, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230242 = _this;
_this setDir -258.76102;
_this setPos [12224.176, 9730.6865, 2.0980835e-005];
};

_vehicle_230243 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12222.465, 9721.3906, 1.335144e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230243 = _this;
_this setDir -80.946503;
_this setPos [12222.465, 9721.3906, 1.335144e-005];
};

_vehicle_230244 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [12226.175, 9726.6367, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230244 = _this;
_this setDir -210.9559;
_this setPos [12226.175, 9726.6367, 1.5258789e-005];
};

_vehicle_230245 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [12223.641, 9727.5313, 1.335144e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230245 = _this;
_this setDir -78.493347;
_this setPos [12223.641, 9727.5313, 1.335144e-005];
};

_vehicle_230254 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12223.688, 9735.6523, 4.9591064e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230254 = _this;
_this setDir 206.68201;
_this setPos [12223.688, 9735.6523, 4.9591064e-005];
};

_vehicle_230255 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12215.195, 9737.7031, 3.6239624e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230255 = _this;
_this setDir 11.237009;
_this setPos [12215.195, 9737.7031, 3.6239624e-005];
};

_vehicle_230256 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12220.988, 9736.4902, 2.8610229e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230256 = _this;
_this setDir 12.225397;
_this setPos [12220.988, 9736.4902, 2.8610229e-005];
};

_vehicle_230257 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12205.938, 9739.3965, 6.6757202e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230257 = _this;
_this setDir 190.12137;
_this setPos [12205.938, 9739.3965, 6.6757202e-005];
};

_vehicle_230258 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12208.79, 9738.7822, 3.8146973e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230258 = _this;
_this setDir 10.366192;
_this setPos [12208.79, 9738.7822, 3.8146973e-005];
};

_vehicle_230259 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12218.128, 9737.2129, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230259 = _this;
_this setDir 188.18069;
_this setPos [12218.128, 9737.2129, 3.0517578e-005];
};

_vehicle_230260 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [12212.825, 9740.8457, 3.2424927e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230260 = _this;
_this setDir 58.171345;
_this setPos [12212.825, 9740.8457, 3.2424927e-005];
};

_vehicle_230261 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [12211.962, 9738.293, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230261 = _this;
_this setDir 190.63385;
_this setPos [12211.962, 9738.293, 3.0517578e-005];
};

_vehicle_230271 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12203.175, 9736.2275, 4.3869019e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230271 = _this;
_this setDir -79.531281;
_this setPos [12203.175, 9736.2275, 4.3869019e-005];
};

_vehicle_230274 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [12203.813, 9738.377], [], 0, "CAN_COLLIDE"];
_vehicle_230274 = _this;
_this setDir -65.75972;
_this setPos [12203.813, 9738.377];
};



_vehicle_230317 = objNull;
if (true) then
{
_this = createVehicle ["SmallTable", [13343.64, 5488.6235, -0.17868805], [], 0, "CAN_COLLIDE"];
_vehicle_230317 = _this;
_this setDir -187.11195;
_this setPos [13343.64, 5488.6235, -0.17868805];
};

_vehicle_230318 = objNull;
if (true) then
{
_this = createVehicle ["Laptop_EP1", [13343.663, 5488.4917, 0.61099243], [], 0, "CAN_COLLIDE"];
_vehicle_230318 = _this;
_this setDir -4.9666471;
_this setPos [13343.663, 5488.4917, 0.61099243];
};

_vehicle_230319 = objNull;
if (true) then
{
_this = createVehicle ["Plastic_Pole_EP1_DZ", [13340.873, 5489.3525, 5.7220459e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230319 = _this;
_this setDir -2.1083541;
_this setPos [13340.873, 5489.3525, 5.7220459e-006];
};

_vehicle_230320 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13332.117, 5487.105, 6.8664551e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230320 = _this;
_this setDir -93.765282;
_this setPos [13332.117, 5487.105, 6.8664551e-005];
};

_vehicle_230321 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13332.264, 5484.2197, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230321 = _this;
_this setDir -93.765282;
_this setPos [13332.264, 5484.2197, -1.9073486e-006];
};

_vehicle_230322 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13332.784, 5474.709, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230322 = _this;
_this setDir -93.765282;
_this setPos [13332.784, 5474.709, 3.0517578e-005];
};

_vehicle_230323 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13334.193, 5472.7515, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230323 = _this;
_this setDir 12.38708;
_this setPos [13334.193, 5472.7515, 2.2888184e-005];
};

_vehicle_230324 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13332.631, 5477.7588, 3.2424927e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230324 = _this;
_this setDir -93.765282;
_this setPos [13332.631, 5477.7588, 3.2424927e-005];
};

_vehicle_230325 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13342.929, 5472.8613, 9.5367432e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230325 = _this;
_this setDir -183.05777;
_this setPos [13342.929, 5472.8613, 9.5367432e-006];
};

_vehicle_230326 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13337.022, 5472.606, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230326 = _this;
_this setDir -182.06937;
_this setPos [13337.022, 5472.606, 1.9073486e-006];
};

_vehicle_230327 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13352.321, 5473.5049, 4.0054321e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230327 = _this;
_this setDir -4.1734762;
_this setPos [13352.321, 5473.5049, 4.0054321e-005];
};

_vehicle_230328 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13349.39, 5473.3979, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230328 = _this;
_this setDir -183.92859;
_this setPos [13349.39, 5473.3979, 1.1444092e-005];
};

_vehicle_230329 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13339.977, 5472.6104, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230329 = _this;
_this setDir -6.1141768;
_this setPos [13339.977, 5472.6104, 3.8146973e-006];
};

_vehicle_230330 = objNull;
if (true) then
{
_this = createVehicle ["CanvasHut_DZ", [13343.754, 5487.73, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230330 = _this;
_this setDir -364.8858;
_this setPos [13343.754, 5487.73, -3.8146973e-006];
};

_vehicle_230331 = objNull;
if (true) then
{
_this = createVehicle ["Land_BagFenceLong", [13341.498, 5487.9663, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230331 = _this;
_this setDir -94.2397;
_this setPos [13341.498, 5487.9663, 1.9073486e-006];
};

_vehicle_230332 = objNull;
if (true) then
{
_this = createVehicle ["Land_BagFenceLong", [13345.736, 5488.2246, -1.335144e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230332 = _this;
_this setDir -94.2397;
_this setPos [13345.736, 5488.2246, -1.335144e-005];
};

_vehicle_230333 = objNull;
if (true) then
{
_this = createVehicle ["FireBarrel_DZ", [13347.521, 5487.8472, -5.7220459e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230333 = _this;
_this setDir -136.12341;
_this setPos [13347.521, 5487.8472, -5.7220459e-006];
};

_vehicle_230334 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [13346.007, 5470.4023, 5.7220459e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230334 = _this;
_this setDir -136.12341;
_this setPos [13346.007, 5470.4023, 5.7220459e-006];
};

_vehicle_230335 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog", [13328.623, 5481.2271, 0.0093607903], [], 0, "CAN_COLLIDE"];
_vehicle_230335 = _this;
_this setDir -136.12341;
_this setPos [13328.623, 5481.2271, 0.0093607903];
};

_vehicle_230336 = objNull;
if (true) then
{
_this = createVehicle ["Misc_Backpackheap", [13339.729, 5487.7417, 2.6702881e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230336 = _this;
_this setDir -136.12341;
_this setPos [13339.729, 5487.7417, 2.6702881e-005];
};

_vehicle_230337 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [13346.212, 5473.0864, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230337 = _this;
_this setDir -3.6609938;
_this setPos [13346.212, 5473.0864, 3.8146973e-006];
};

_vehicle_230338 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [13332.413, 5480.9727, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230338 = _this;
_this setDir 88.970612;
_this setPos [13332.413, 5480.9727, 3.8146973e-006];
};

_vehicle_230339 = objNull;
if (true) then
{
_this = createVehicle ["SignM_UN_Base_EP1", [13353.021, 5479.0288, 3.6239624e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230339 = _this;
_this setDir -273.8407;
_this setPos [13353.021, 5479.0288, 3.6239624e-005];
};

_vehicle_230340 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13354.032, 5474.6997, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230340 = _this;
_this setDir -76.679306;
_this setPos [13354.032, 5474.6997, 1.7166138e-005];
};

_vehicle_230341 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13354.069, 5483.4434, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230341 = _this;
_this setDir -272.12415;
_this setPos [13354.069, 5483.4434, 3.8146973e-006];
};

_vehicle_230342 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13354.221, 5477.5195, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230342 = _this;
_this setDir -271.13586;
_this setPos [13354.221, 5477.5195, -3.8146973e-006];
};

_vehicle_230343 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13353.571, 5492.8394, 3.4332275e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230343 = _this;
_this setDir -93.239861;
_this setPos [13353.571, 5492.8394, 3.4332275e-005];
};

_vehicle_230344 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13353.648, 5489.9097, 5.7220459e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230344 = _this;
_this setDir -272.99496;
_this setPos [13353.648, 5489.9097, 5.7220459e-006];
};

_vehicle_230345 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13354.268, 5480.4766, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230345 = _this;
_this setDir -95.180489;
_this setPos [13354.268, 5480.4766, -1.9073486e-006];
};

_vehicle_230346 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [13356.568, 5486.4741], [], 0, "CAN_COLLIDE"];
_vehicle_230346 = _this;
_this setDir -225.18979;
_this setPos [13356.568, 5486.4741];
};

_vehicle_230347 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [13353.901, 5486.7188, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
_vehicle_230347 = _this;
_this setDir -92.727348;
_this setPos [13353.901, 5486.7188, -1.9073486e-006];
};

_vehicle_230348 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13351.945, 5494.6011, 3.4332275e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230348 = _this;
_this setDir 192.44812;
_this setPos [13351.945, 5494.6011, 3.4332275e-005];
};

_vehicle_230349 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13343.205, 5494.5, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230349 = _this;
_this setDir -2.9969823;
_this setPos [13343.205, 5494.5, 2.0980835e-005];
};

_vehicle_230350 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13349.119, 5494.7505, 1.335144e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230350 = _this;
_this setDir -2.0085962;
_this setPos [13349.119, 5494.7505, 1.335144e-005];
};

_vehicle_230351 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13333.817, 5493.8667, 5.1498413e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230351 = _this;
_this setDir 175.88748;
_this setPos [13333.817, 5493.8667, 5.1498413e-005];
};

_vehicle_230352 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13336.732, 5493.9736, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230352 = _this;
_this setDir -3.8678005;
_this setPos [13336.732, 5493.9736, 2.2888184e-005];
};

_vehicle_230353 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13346.171, 5494.748, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230353 = _this;
_this setDir 173.94681;
_this setPos [13346.171, 5494.748, 1.5258789e-005];
};

_vehicle_230354 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [13340.143, 5496.9624, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230354 = _this;
_this setDir 43.937355;
_this setPos [13340.143, 5496.9624, 1.7166138e-005];
};

_vehicle_230355 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [13339.938, 5494.2783, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230355 = _this;
_this setDir 176.39996;
_this setPos [13339.938, 5494.2783, 1.5258789e-005];
};

_vehicle_230356 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13331.92, 5490.1157, 2.8610229e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230356 = _this;
_this setDir -93.765282;
_this setPos [13331.92, 5490.1157, 2.8610229e-005];
};

_vehicle_230357 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [13332.018, 5492.356, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
_vehicle_230357 = _this;
_this setDir -79.993729;
_this setPos [13332.018, 5492.356, -1.5258789e-005];
};



_vehicle_230400 = objNull;
if (true) then
{
_this = createVehicle ["SmallTable", [1008.9104, 2218.9385, -0.18023539], [], 0, "CAN_COLLIDE"];
_vehicle_230400 = _this;
_this setDir -70.389893;
_this setPos [1008.9104, 2218.9385, -0.18023539];
};

_vehicle_230401 = objNull;
if (true) then
{
_this = createVehicle ["Laptop_EP1", [1008.7841, 2218.9775, 0.60786343], [], 0, "CAN_COLLIDE"];
_vehicle_230401 = _this;
_this setDir 111.75552;
_this setPos [1008.7841, 2218.9775, 0.60786343];
};

_vehicle_230402 = objNull;
if (true) then
{
_this = createVehicle ["Plastic_Pole_EP1_DZ", [1010.8109, 2221.0852, 0.015144348], [], 0, "CAN_COLLIDE"];
_vehicle_230402 = _this;
_this setDir 114.61385;
_this setPos [1010.8109, 2221.0852, 0.015144348];
};

_vehicle_230403 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [1012.7404, 2229.9177, -0.01185894], [], 0, "CAN_COLLIDE"];
_vehicle_230403 = _this;
_this setDir 22.956945;
_this setPos [1012.7404, 2229.9177, -0.01185894];
};

_vehicle_230404 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [1010.0983, 2231.0894, -0.016476631], [], 0, "CAN_COLLIDE"];
_vehicle_230404 = _this;
_this setDir 22.956945;
_this setPos [1010.0983, 2231.0894, -0.016476631];
};

_vehicle_230405 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [1001.3679, 2234.8914, -0.028510571], [], 0, "CAN_COLLIDE"];
_vehicle_230405 = _this;
_this setDir 22.956945;
_this setPos [1001.3679, 2234.8914, -0.028510571];
};

_vehicle_230406 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [998.98816, 2234.5151, -0.019111156], [], 0, "CAN_COLLIDE"];
_vehicle_230406 = _this;
_this setDir 129.10925;
_this setPos [998.98816, 2234.5151, -0.019111156];
};

_vehicle_230407 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [1004.1617, 2233.6628, -0.027349472], [], 0, "CAN_COLLIDE"];
_vehicle_230407 = _this;
_this setDir 22.956945;
_this setPos [1004.1617, 2233.6628, -0.027349472];
};

_vehicle_230408 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [995.15485, 2226.6597, -0.030093193], [], 0, "CAN_COLLIDE"];
_vehicle_230408 = _this;
_this setDir -66.335663;
_this setPos [995.15485, 2226.6597, -0.030093193];
};

_vehicle_230409 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [997.58716, 2232.0574, 0.0085325241], [], 0, "CAN_COLLIDE"];
_vehicle_230409 = _this;
_this setDir -65.347282;
_this setPos [997.58716, 2232.0574, 0.0085325241];
};

_vehicle_230410 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [991.5058, 2217.9856, -0.040980339], [], 0, "CAN_COLLIDE"];
_vehicle_230410 = _this;
_this setDir 112.54871;
_this setPos [991.5058, 2217.9856, -0.040980339];
};

_vehicle_230411 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [992.72754, 2220.6482, -0.040405273], [], 0, "CAN_COLLIDE"];
_vehicle_230411 = _this;
_this setDir -67.206497;
_this setPos [992.72754, 2220.6482, -0.040405273];
};

_vehicle_230412 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [996.26086, 2229.4131, -0.01058054], [], 0, "CAN_COLLIDE"];
_vehicle_230412 = _this;
_this setDir 110.60802;
_this setPos [996.26086, 2229.4131, -0.01058054];
};

_vehicle_230413 = objNull;
if (true) then
{
_this = createVehicle ["CanvasHut_DZ", [1008.0667, 2219.2427, -0.012227058], [], 0, "CAN_COLLIDE"];
_vehicle_230413 = _this;
_this setDir -248.16362;
_this setPos [1008.0667, 2219.2427, -0.012227058];
};

_vehicle_230414 = objNull;
if (true) then
{
_this = createVehicle ["Land_BagFenceLong", [1009.293, 2221.1516, -0.0028114319], [], 0, "CAN_COLLIDE"];
_vehicle_230414 = _this;
_this setDir 22.482546;
_this setPos [1009.293, 2221.1516, -0.0028114319];
};

_vehicle_230415 = objNull;
if (true) then
{
_this = createVehicle ["Land_BagFenceLong", [1007.6133, 2217.2439, -0.012365341], [], 0, "CAN_COLLIDE"];
_vehicle_230415 = _this;
_this setDir 22.482546;
_this setPos [1007.6133, 2217.2439, -0.012365341];
};

_vehicle_230416 = objNull;
if (true) then
{
_this = createVehicle ["FireBarrel_DZ", [1006.4756, 2215.8245, -0.021134853], [], 0, "CAN_COLLIDE"];
_vehicle_230416 = _this;
_this setDir -19.4013;
_this setPos [1006.4756, 2215.8245, -0.021134853];
};

_vehicle_230417 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [991.57611, 2225.0176, -0.042182922], [], 0, "CAN_COLLIDE"];
_vehicle_230417 = _this;
_this setDir -19.4013;
_this setPos [991.57611, 2225.0176, -0.042182922];
};

_vehicle_230418 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog", [1009.0612, 2235.6787, -0.077063084], [], 0, "CAN_COLLIDE"];
_vehicle_230418 = _this;
_this setDir -19.4013;
_this setPos [1009.0612, 2235.6787, -0.077063084];
};

_vehicle_230419 = objNull;
if (true) then
{
_this = createVehicle ["Misc_Backpackheap", [1009.8881, 2222.8328, -0.0088691711], [], 0, "CAN_COLLIDE"];
_vehicle_230419 = _this;
_this setDir -19.4013;
_this setPos [1009.8881, 2222.8328, -0.0088691711];
};

_vehicle_230420 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [993.88184, 2223.6355, -0.039770603], [], 0, "CAN_COLLIDE"];
_vehicle_230420 = _this;
_this setDir 113.06123;
_this setPos [993.88184, 2223.6355, -0.039770603];
};

_vehicle_230421 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [1007.1276, 2232.4084, -0.025319099], [], 0, "CAN_COLLIDE"];
_vehicle_230421 = _this;
_this setDir 205.69284;
_this setPos [1007.1276, 2232.4084, -0.025319099];
};

_vehicle_230422 = objNull;
if (true) then
{
_this = createVehicle ["SignM_UN_Base_EP1", [996.12762, 2214.8789, -0.031416893], [], 0, "CAN_COLLIDE"];
_vehicle_230422 = _this;
_this setDir -157.11855;
_this setPos [996.12762, 2214.8789, -0.031416893];
};

_vehicle_230423 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [991.80585, 2215.9148, -0.037466049], [], 0, "CAN_COLLIDE"];
_vehicle_230423 = _this;
_this setDir 40.042912;
_this setPos [991.80585, 2215.9148, -0.037466049];
};

_vehicle_230424 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [999.60132, 2211.9561, -0.023283958], [], 0, "CAN_COLLIDE"];
_vehicle_230424 = _this;
_this setDir -155.40199;
_this setPos [999.60132, 2211.9561, -0.023283958];
};

_vehicle_230425 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [994.24103, 2214.4834, -0.032737732], [], 0, "CAN_COLLIDE"];
_vehicle_230425 = _this;
_this setDir -154.41371;
_this setPos [994.24103, 2214.4834, -0.032737732];
};

_vehicle_230426 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [1008.2103, 2208.1692, -0.0066285133], [], 0, "CAN_COLLIDE"];
_vehicle_230426 = _this;
_this setDir 23.482386;
_this setPos [1008.2103, 2208.1692, -0.0066285133];
};

_vehicle_230427 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [1005.5654, 2209.4297, -0.012667656], [], 0, "CAN_COLLIDE"];
_vehicle_230427 = _this;
_this setDir -156.27281;
_this setPos [1005.5654, 2209.4297, -0.012667656];
};

_vehicle_230428 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [996.85938, 2213.1091, -0.027901173], [], 0, "CAN_COLLIDE"];
_vehicle_230428 = _this;
_this setDir 21.541727;
_this setPos [996.85938, 2213.1091, -0.027901173];
};

_vehicle_230429 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [1001.1783, 2208.3528, -0.015958309], [], 0, "CAN_COLLIDE"];
_vehicle_230429 = _this;
_this setDir -108.46767;
_this setPos [1001.1783, 2208.3528, -0.015958309];
};

_vehicle_230430 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [1002.6004, 2210.6348, -0.018146515], [], 0, "CAN_COLLIDE"];
_vehicle_230430 = _this;
_this setDir 23.994883;
_this setPos [1002.6004, 2210.6348, -0.018146515];
};

_vehicle_230431 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [1010.5191, 2208.8311, -0.0038146973], [], 0, "CAN_COLLIDE"];
_vehicle_230431 = _this;
_this setDir 309.1701;
_this setPos [1010.5191, 2208.8311, -0.0038146973];
};

_vehicle_230432 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [1014.3578, 2216.6799, 0.031906128], [], 0, "CAN_COLLIDE"];
_vehicle_230432 = _this;
_this setDir 113.72519;
_this setPos [1014.3578, 2216.6799, 0.031906128];
};

_vehicle_230433 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [1011.9202, 2211.2854, -0.0027184486], [], 0, "CAN_COLLIDE"];
_vehicle_230433 = _this;
_this setDir 114.71358;
_this setPos [1011.9202, 2211.2854, -0.0027184486];
};

_vehicle_230434 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [1018.0127, 2225.3521, 0.022282124], [], 0, "CAN_COLLIDE"];
_vehicle_230434 = _this;
_this setDir 292.6095;
_this setPos [1018.0127, 2225.3521, 0.022282124];
};

_vehicle_230435 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [1016.797, 2222.7002, 0.046704292], [], 0, "CAN_COLLIDE"];
_vehicle_230435 = _this;
_this setDir 112.85442;
_this setPos [1016.797, 2222.7002, 0.046704292];
};

_vehicle_230436 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [1013.2455, 2213.9214, 0.0032219887], [], 0, "CAN_COLLIDE"];
_vehicle_230436 = _this;
_this setDir 290.66882;
_this setPos [1013.2455, 2213.9214, 0.0032219887];
};

_vehicle_230437 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [1017.939, 2218.3142, 0.058307648], [], 0, "CAN_COLLIDE"];
_vehicle_230437 = _this;
_this setDir 160.65955;
_this setPos [1017.939, 2218.3142, 0.058307648];
};

_vehicle_230438 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [1015.6327, 2219.7102, 0.062959671], [], 0, "CAN_COLLIDE"];
_vehicle_230438 = _this;
_this setDir 293.12198;
_this setPos [1015.6327, 2219.7102, 0.062959671];
};

_vehicle_230439 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [1015.5165, 2228.7346, -0.0015640259], [], 0, "CAN_COLLIDE"];
_vehicle_230439 = _this;
_this setDir 22.956945;
_this setPos [1015.5165, 2228.7346, -0.0015640259];
};

_vehicle_230440 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [1017.4778, 2227.6465, 0.0079345703], [], 0, "CAN_COLLIDE"];
_vehicle_230440 = _this;
_this setDir 36.728489;
_this setPos [1017.4778, 2227.6465, 0.0079345703];
};



_vehicle_230482 = objNull;
if (true) then
{
_this = createVehicle ["SmallTable", [8666.624, 6517.3467, -0.049835205], [], 0, "CAN_COLLIDE"];
_vehicle_230482 = _this;
_this setDir -158.43188;
_this setPos [8666.624, 6517.3467, -0.049835205];
};

_vehicle_230483 = objNull;
if (true) then
{
_this = createVehicle ["Laptop_EP1", [8666.5801, 6517.2212, 0.73773193], [], 0, "CAN_COLLIDE"];
_vehicle_230483 = _this;
_this setDir 23.713522;
_this setPos [8666.5801, 6517.2212, 0.73773193];
};

_vehicle_230485 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8655.7822, 6521.5454, -0.33233643], [], 0, "CAN_COLLIDE"];
_vehicle_230485 = _this;
_this setDir -65.085106;
_this setPos [8655.7822, 6521.5454, -0.33233643];
};

_vehicle_230486 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8654.5205, 6518.9492, -0.17044067], [], 0, "CAN_COLLIDE"];
_vehicle_230486 = _this;
_this setDir -65.085106;
_this setPos [8654.5205, 6518.9492, -0.17044067];
};

_vehicle_230487 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8650.4199, 6510.3545, 0.11407471], [], 0, "CAN_COLLIDE"];
_vehicle_230487 = _this;
_this setDir -65.085106;
_this setPos [8650.4199, 6510.3545, 0.11407471];
};

_vehicle_230488 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8650.7139, 6507.9609, 0.18170166], [], 0, "CAN_COLLIDE"];
_vehicle_230488 = _this;
_this setDir 41.067253;
_this setPos [8650.7139, 6507.9609, 0.18170166];
};

_vehicle_230489 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8651.748, 6513.1025, 0.14526367], [], 0, "CAN_COLLIDE"];
_vehicle_230489 = _this;
_this setDir -65.085106;
_this setPos [8651.748, 6513.1025, 0.14526367];
};

_vehicle_230490 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8658.4365, 6503.8589, 0.16156006], [], 0, "CAN_COLLIDE"];
_vehicle_230490 = _this;
_this setDir -154.3777;
_this setPos [8658.4365, 6503.8589, 0.16156006];
};

_vehicle_230491 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8653.123, 6506.4771, 0.17807007], [], 0, "CAN_COLLIDE"];
_vehicle_230491 = _this;
_this setDir -153.3893;
_this setPos [8653.123, 6506.4771, 0.17807007];
};

_vehicle_230492 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8666.9814, 6499.9199, 0.12683105], [], 0, "CAN_COLLIDE"];
_vehicle_230492 = _this;
_this setDir 24.506693;
_this setPos [8666.9814, 6499.9199, 0.12683105];
};

_vehicle_230493 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8664.3623, 6501.2305, 0.13848877], [], 0, "CAN_COLLIDE"];
_vehicle_230493 = _this;
_this setDir -155.24852;
_this setPos [8664.3623, 6501.2305, 0.13848877];
};

_vehicle_230494 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8655.7217, 6505.0615, 0.1723938], [], 0, "CAN_COLLIDE"];
_vehicle_230494 = _this;
_this setDir 22.56599;
_this setPos [8655.7217, 6505.0615, 0.1723938];
};

_vehicle_230495 = objNull;
if (true) then
{
_this = createVehicle ["CanvasHut_DZ", [8666.2881, 6516.5127, 0.11410522], [], 0, "CAN_COLLIDE"];
_vehicle_230495 = _this;
_this setDir -336.20563;
_this setPos [8666.2881, 6516.5127, 0.11410522];
};

_vehicle_230496 = objNull;
if (true) then
{
_this = createVehicle ["Land_BagFenceLong", [8664.4287, 6517.8018, 0.094421387], [], 0, "CAN_COLLIDE"];
_vehicle_230496 = _this;
_this setDir -65.559509;
_this setPos [8664.4287, 6517.8018, 0.094421387];
};

_vehicle_230497 = objNull;
if (true) then
{
_this = createVehicle ["Land_BagFenceLong", [8668.2734, 6515.9902, 0.14709473], [], 0, "CAN_COLLIDE"];
_vehicle_230497 = _this;
_this setDir -65.559509;
_this setPos [8668.2734, 6515.9902, 0.14709473];
};

_vehicle_230498 = objNull;
if (true) then
{
_this = createVehicle ["FireBarrel_DZ", [8669.6523, 6514.8057, 0.17669678], [], 0, "CAN_COLLIDE"];
_vehicle_230498 = _this;
_this setDir -107.44332;
_this setPos [8669.6523, 6514.8057, 0.17669678];
};

_vehicle_230499 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [8659.9541, 6500.229, 0.18753052], [], 0, "CAN_COLLIDE"];
_vehicle_230499 = _this;
_this setDir -107.44332;
_this setPos [8659.9541, 6500.229, 0.18753052];
};

_vehicle_230500 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog", [8649.8945, 6518.0684, -0.19259644], [], 0, "CAN_COLLIDE"];
_vehicle_230500 = _this;
_this setDir -107.44332;
_this setPos [8649.8945, 6518.0684, -0.19259644];
};

_vehicle_230501 = objNull;
if (true) then
{
_this = createVehicle ["Misc_Backpackheap", [8662.7637, 6518.4561, 0.077484131], [], 0, "CAN_COLLIDE"];
_vehicle_230501 = _this;
_this setDir -107.44332;
_this setPos [8662.7637, 6518.4561, 0.077484131];
};

_vehicle_230502 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [8661.415, 6502.4858, 0.14981079], [], 0, "CAN_COLLIDE"];
_vehicle_230502 = _this;
_this setDir 25.019176;
_this setPos [8661.415, 6502.4858, 0.14981079];
};

_vehicle_230503 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [8653.1006, 6516.0239, 0.084472656], [], 0, "CAN_COLLIDE"];
_vehicle_230503 = _this;
_this setDir 117.6508;
_this setPos [8653.1006, 6516.0239, 0.084472656];
};

_vehicle_230504 = objNull;
if (true) then
{
_this = createVehicle ["SignM_UN_Base_EP1", [8670.2432, 6504.4307, 0.081176758], [], 0, "CAN_COLLIDE"];
_vehicle_230504 = _this;
_this setDir -245.16052;
_this setPos [8670.2432, 6504.4307, 0.081176758];
};

_vehicle_230505 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8669.0596, 6500.1484, 0.11129761], [], 0, "CAN_COLLIDE"];
_vehicle_230505 = _this;
_this setDir -47.999115;
_this setPos [8669.0596, 6500.1484, 0.11129761];
};

_vehicle_230506 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8673.2822, 6507.8032, 0.19790649], [], 0, "CAN_COLLIDE"];
_vehicle_230506 = _this;
_this setDir -243.44397;
_this setPos [8673.2822, 6507.8032, 0.19790649];
};

_vehicle_230507 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8670.5762, 6502.5317, 0.087463379], [], 0, "CAN_COLLIDE"];
_vehicle_230507 = _this;
_this setDir -242.45569;
_this setPos [8670.5762, 6502.5317, 0.087463379];
};

_vehicle_230508 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8677.3623, 6516.2764, 0.31600952], [], 0, "CAN_COLLIDE"];
_vehicle_230508 = _this;
_this setDir -64.559669;
_this setPos [8677.3623, 6516.2764, 0.31600952];
};

_vehicle_230509 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8676.0137, 6513.6772, 0.29418945], [], 0, "CAN_COLLIDE"];
_vehicle_230509 = _this;
_this setDir -244.31479;
_this setPos [8676.0137, 6513.6772, 0.29418945];
};

_vehicle_230510 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8672.04, 6505.1035, 0.11026001], [], 0, "CAN_COLLIDE"];
_vehicle_230510 = _this;
_this setDir -66.50032;
_this setPos [8672.04, 6505.1035, 0.11026001];
};

_vehicle_230511 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [8676.9404, 6509.2578, 0.28302002], [], 0, "CAN_COLLIDE"];
_vehicle_230511 = _this;
_this setDir -196.50972;
_this setPos [8676.9404, 6509.2578, 0.28302002];
};

_vehicle_230512 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [8674.709, 6510.7568, 0.27380371], [], 0, "CAN_COLLIDE"];
_vehicle_230512 = _this;
_this setDir -64.047173;
_this setPos [8674.709, 6510.7568, 0.27380371];
};

_vehicle_230513 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8676.7822, 6518.6079, 0.31848145], [], 0, "CAN_COLLIDE"];
_vehicle_230513 = _this;
_this setDir 221.12819;
_this setPos [8676.7822, 6518.6079, 0.31848145];
};

_vehicle_230514 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8669.0645, 6522.7134, 0.17687988], [], 0, "CAN_COLLIDE"];
_vehicle_230514 = _this;
_this setDir 25.683189;
_this setPos [8669.0645, 6522.7134, 0.17687988];
};

_vehicle_230515 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8674.375, 6520.0933, 0.27624512], [], 0, "CAN_COLLIDE"];
_vehicle_230515 = _this;
_this setDir 26.671577;
_this setPos [8674.375, 6520.0933, 0.27624512];
};

_vehicle_230516 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8660.5283, 6526.6621, -0.067718506], [], 0, "CAN_COLLIDE"];
_vehicle_230516 = _this;
_this setDir 204.56755;
_this setPos [8660.5283, 6526.6621, -0.067718506];
};

_vehicle_230517 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8663.1318, 6525.3574, 0.017944336], [], 0, "CAN_COLLIDE"];
_vehicle_230517 = _this;
_this setDir 24.81237;
_this setPos [8663.1318, 6525.3574, 0.017944336];
};

_vehicle_230518 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8671.7832, 6521.5068, 0.23239136], [], 0, "CAN_COLLIDE"];
_vehicle_230518 = _this;
_this setDir 202.62688;
_this setPos [8671.7832, 6521.5068, 0.23239136];
};

_vehicle_230519 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [8667.5557, 6526.3467, 0.10940552], [], 0, "CAN_COLLIDE"];
_vehicle_230519 = _this;
_this setDir 72.617516;
_this setPos [8667.5557, 6526.3467, 0.10940552];
};

_vehicle_230520 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [8666.083, 6524.0903, 0.074981689], [], 0, "CAN_COLLIDE"];
_vehicle_230520 = _this;
_this setDir 205.08003;
_this setPos [8666.083, 6524.0903, 0.074981689];
};

_vehicle_230521 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8657.0615, 6524.2822, -0.23706055], [], 0, "CAN_COLLIDE"];
_vehicle_230521 = _this;
_this setDir -65.085106;
_this setPos [8657.0615, 6524.2822, -0.23706055];
};

_vehicle_230522 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [8658.2109, 6526.2061, -0.13095093], [], 0, "CAN_COLLIDE"];
_vehicle_230522 = _this;
_this setDir -51.313541;
_this setPos [8658.2109, 6526.2061, -0.13095093];
};

_vehicle_523 = objNull;
if (true) then
{
_this = createVehicle ["WarfareBunkerSign", [6762.4893, 2502.8083, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
_vehicle_523 = _this;
_this setDir -48.497234;
_this setVehicleInit "this setObjectTexture [0, ""zupa.jpg""]";
_this setPos [6762.4893, 2502.8083, -7.6293945e-006];
};

_vehicle_525 = objNull;
if (true) then
{
_this = createVehicle ["WarfareBunkerSign", [998.73145, 2224.1206, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_525 = _this;
_this setDir -67.313019;
_this setVehicleInit "this setObjectTexture [0, ""zupa.jpg""]";
_this setPos [998.73145, 2224.1206, 3.0517578e-005];
};

_vehicle_527 = objNull;
if (true) then
{
_this = createVehicle ["WarfareBunkerSign", [8656.7568, 6518.8223, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
_vehicle_527 = _this;
_this setDir -60.400795;
_this setVehicleInit "this setObjectTexture [0, ""zupa.jpg""]";
_this setPos [8656.7568, 6518.8223, 9.1552734e-005];
};

_vehicle_529 = objNull;
if (true) then
{
_this = createVehicle ["WarfareBunkerSign", [13335.498, 5475.1123, -5.2452087e-006], [], 0, "CAN_COLLIDE"];
_vehicle_529 = _this;
_this setDir -138.74821;
_this setVehicleInit "this setObjectTexture [0, ""zupa.jpg""]";
_this setPos [13335.498, 5475.1123, -5.2452087e-006];
};

_vehicle_531 = objNull;
if (true) then
{
_this = createVehicle ["WarfareBunkerSign", [10014.546, 1852.9315, 4.2915344e-006], [], 0, "CAN_COLLIDE"];
_vehicle_531 = _this;
_this setDir 87.686577;
_this setVehicleInit "this setObjectTexture [0, ""zupa.jpg""]";
_this setPos [10014.546, 1852.9315, 4.2915344e-006];
};

_vehicle_533 = objNull;
if (true) then
{
_this = createVehicle ["WarfareBunkerSign", [12201.858, 9722.418, 6.6757202e-006], [], 0, "CAN_COLLIDE"];
_vehicle_533 = _this;
_this setDir -76.433128;
_this setVehicleInit "this setObjectTexture [0, ""zupa.jpg""]";
_this setPos [12201.858, 9722.418, 6.6757202e-006];
};

_vehicle_609 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [-1358.1731, 10527.877, -0.4083178], [], 0, "CAN_COLLIDE"];
_vehicle_609 = _this;
_this setDir 312.10669;
_this setPos [-1358.1731, 10527.877, -0.4083178];
};

_vehicle_739 = objNull;
if (true) then
{
_this = createVehicle ["SmallTable", [3653.2356, 8532.0977, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_739 = _this;
_this setDir -54.5294;
_this setPos [3653.2356, 8532.0977, 3.0517578e-005];
};

_vehicle_740 = objNull;
if (true) then
{
_this = createVehicle ["Laptop_EP1", [3653.125, 8532.1699, 0.78723145], [], 0, "CAN_COLLIDE"];
_vehicle_740 = _this;
_this setDir 127.61597;
_this setPos [3653.125, 8532.1699, 0.78723145];
};

_vehicle_741 = objNull;
if (true) then
{
_this = createVehicle ["Plastic_Pole_EP1_DZ", [3655.6489, 8533.6416, 0.1255188], [], 0, "CAN_COLLIDE"];
_vehicle_741 = _this;
_this setDir 130.47433;
_this setPos [3655.6489, 8533.6416, 0.1255188];
};

_vehicle_742 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3659.9199, 8541.6172, -0.15748614], [], 0, "CAN_COLLIDE"];
_vehicle_742 = _this;
_this setDir 38.817444;
_this setPos [3659.9199, 8541.6172, -0.15748614];
};

_vehicle_743 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3657.698, 8543.4639, 0.081894465], [], 0, "CAN_COLLIDE"];
_vehicle_743 = _this;
_this setDir 38.817444;
_this setPos [3657.698, 8543.4639, 0.081894465];
};

_vehicle_744 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3650.3403, 8549.5078, -0.10137939], [], 0, "CAN_COLLIDE"];
_vehicle_744 = _this;
_this setDir 38.817444;
_this setPos [3650.3403, 8549.5078, -0.10137939];
};

_vehicle_745 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3647.9468, 8549.7949, 0.03729248], [], 0, "CAN_COLLIDE"];
_vehicle_745 = _this;
_this setDir 144.96976;
_this setPos [3647.9468, 8549.7949, 0.03729248];
};

_vehicle_746 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3652.655, 8547.6504, -0.014680804], [], 0, "CAN_COLLIDE"];
_vehicle_746 = _this;
_this setDir 38.817444;
_this setPos [3652.655, 8547.6504, -0.014680804];
};

_vehicle_747 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3642.1121, 8543.2881, 0.25045776], [], 0, "CAN_COLLIDE"];
_vehicle_747 = _this;
_this setDir -50.475166;
_this setPos [3642.1121, 8543.2881, 0.25045776];
};

_vehicle_748 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3645.928, 8547.8154, 0.20425415], [], 0, "CAN_COLLIDE"];
_vehicle_748 = _this;
_this setDir -49.486786;
_this setPos [3645.928, 8547.8154, 0.20425415];
};

_vehicle_749 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3636.2327, 8535.9414, 0.27029419], [], 0, "CAN_COLLIDE"];
_vehicle_749 = _this;
_this setDir 128.40916;
_this setPos [3636.2327, 8535.9414, 0.27029419];
};

_vehicle_750 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3638.135, 8538.168, 0.25939941], [], 0, "CAN_COLLIDE"];
_vehicle_750 = _this;
_this setDir -51.346001;
_this setPos [3638.135, 8538.168, 0.25939941];
};

_vehicle_751 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3643.9292, 8545.6309, 0.2354126], [], 0, "CAN_COLLIDE"];
_vehicle_751 = _this;
_this setDir 126.46845;
_this setPos [3643.9292, 8545.6309, 0.2354126];
};

_vehicle_752 = objNull;
if (true) then
{
_this = createVehicle ["CanvasHut_DZ", [3652.5068, 8532.6211, 0.1619873], [], 0, "CAN_COLLIDE"];
_vehicle_752 = _this;
_this setDir -232.30312;
_this setPos [3652.5068, 8532.6211, 0.1619873];
};

_vehicle_753 = objNull;
if (true) then
{
_this = createVehicle ["Land_BagFenceLong", [3654.2068, 8534.1221, 0.17581177], [], 0, "CAN_COLLIDE"];
_vehicle_753 = _this;
_this setDir 38.343044;
_this setPos [3654.2068, 8534.1221, 0.17581177];
};

_vehicle_754 = objNull;
if (true) then
{
_this = createVehicle ["Land_BagFenceLong", [3651.5239, 8530.8242, 0.16244507], [], 0, "CAN_COLLIDE"];
_vehicle_754 = _this;
_this setDir 38.343044;
_this setPos [3651.5239, 8530.8242, 0.16244507];
};

_vehicle_755 = objNull;
if (true) then
{
_this = createVehicle ["FireBarrel_DZ", [3650.042, 8529.7705, 0.16503906], [], 0, "CAN_COLLIDE"];
_vehicle_755 = _this;
_this setDir -3.5408015;
_this setPos [3650.042, 8529.7705, 0.16503906];
};

_vehicle_756 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [3638.2224, 8542.6836, 0.30670166], [], 0, "CAN_COLLIDE"];
_vehicle_756 = _this;
_this setDir -3.5408015;
_this setPos [3638.2224, 8542.6836, 0.30670166];
};

_vehicle_757 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog", [3657.9548, 8548.1611, -0.55612183], [], 0, "CAN_COLLIDE"];
_vehicle_757 = _this;
_this setDir -3.5408015;
_this setPos [3657.9548, 8548.1611, -0.55612183];
};

_vehicle_758 = objNull;
if (true) then
{
_this = createVehicle ["Misc_Backpackheap", [3655.2402, 8535.5801, 0.054992676], [], 0, "CAN_COLLIDE"];
_vehicle_758 = _this;
_this setDir -3.5408015;
_this setPos [3655.2402, 8535.5801, 0.054992676];
};

_vehicle_759 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [3640.0615, 8540.7266, 0.2598877], [], 0, "CAN_COLLIDE"];
_vehicle_759 = _this;
_this setDir 128.92171;
_this setPos [3640.0615, 8540.7266, 0.2598877];
};

_vehicle_760 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [3655.2014, 8545.5439, -0.28744507], [], 0, "CAN_COLLIDE"];
_vehicle_760 = _this;
_this setDir 221.55334;
_this setPos [3655.2014, 8545.5439, -0.28744507];
};

_vehicle_762 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3635.9551, 8533.8711, 0.25640869], [], 0, "CAN_COLLIDE"];
_vehicle_762 = _this;
_this setDir 55.903412;
_this setPos [3635.9551, 8533.8711, 0.25640869];
};

_vehicle_763 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3642.3716, 8527.9287, 0.18228149], [], 0, "CAN_COLLIDE"];
_vehicle_763 = _this;
_this setDir -139.54149;
_this setPos [3642.3716, 8527.9287, 0.18228149];
};

_vehicle_764 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3637.9075, 8531.8242, 0.22235107], [], 0, "CAN_COLLIDE"];
_vehicle_764 = _this;
_this setDir -138.55321;
_this setPos [3637.9075, 8531.8242, 0.22235107];
};

_vehicle_765 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3649.6182, 8521.9277, 0.20614624], [], 0, "CAN_COLLIDE"];
_vehicle_765 = _this;
_this setDir 39.342884;
_this setPos [3649.6182, 8521.9277, 0.20614624];
};

_vehicle_766 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3647.4204, 8523.8672, 0.20010376], [], 0, "CAN_COLLIDE"];
_vehicle_766 = _this;
_this setDir -140.41231;
_this setPos [3647.4204, 8523.8672, 0.20010376];
};

_vehicle_767 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3640.0481, 8529.7832, 0.18661499], [], 0, "CAN_COLLIDE"];
_vehicle_767 = _this;
_this setDir 37.402225;
_this setPos [3640.0481, 8529.7832, 0.18661499];
};

_vehicle_768 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [3642.9033, 8524.0293, 0.19110107], [], 0, "CAN_COLLIDE"];
_vehicle_768 = _this;
_this setDir -92.607201;
_this setPos [3642.9033, 8524.0293, 0.19110107];
};

_vehicle_769 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [3644.8962, 8525.833, 0.19140625], [], 0, "CAN_COLLIDE"];
_vehicle_769 = _this;
_this setDir 39.855381;
_this setPos [3644.8962, 8525.833, 0.19140625];
};

_vehicle_770 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3652.0193, 8521.9346, 0.20895386], [], 0, "CAN_COLLIDE"];
_vehicle_770 = _this;
_this setDir 325.03067;
_this setPos [3652.0193, 8521.9346, 0.20895386];
};

_vehicle_771 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3657.8574, 8528.4395, 0.094696045], [], 0, "CAN_COLLIDE"];
_vehicle_771 = _this;
_this setDir 129.58563;
_this setPos [3657.8574, 8528.4395, 0.094696045];
};

_vehicle_772 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3654.0383, 8523.9111, 0.18521118], [], 0, "CAN_COLLIDE"];
_vehicle_772 = _this;
_this setDir 130.57405;
_this setPos [3654.0383, 8523.9111, 0.18521118];
};

_vehicle_773 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3663.7434, 8535.7813, -0.028712559], [], 0, "CAN_COLLIDE"];
_vehicle_773 = _this;
_this setDir 308.47006;
_this setPos [3663.7434, 8535.7813, -0.028712559];
};

_vehicle_774 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3661.8508, 8533.5596, 0.018159961], [], 0, "CAN_COLLIDE"];
_vehicle_774 = _this;
_this setDir 128.7149;
_this setPos [3661.8508, 8533.5596, 0.018159961];
};

_vehicle_775 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3656.0334, 8526.0908, 0.12832642], [], 0, "CAN_COLLIDE"];
_vehicle_775 = _this;
_this setDir 306.52939;
_this setPos [3656.0334, 8526.0908, 0.12832642];
};

_vehicle_776 = objNull;
if (true) then
{
_this = createVehicle ["Hedgehog_EP1", [3661.7498, 8529.0313, -0.16931152], [], 0, "CAN_COLLIDE"];
_vehicle_776 = _this;
_this setDir 176.52005;
_this setPos [3661.7498, 8529.0313, -0.16931152];
};

_vehicle_777 = objNull;
if (true) then
{
_this = createVehicle ["Land_BarGate2", [3659.9126, 8531.0039, -0.060516357], [], 0, "CAN_COLLIDE"];
_vehicle_777 = _this;
_this setDir 308.98254;
_this setPos [3659.9126, 8531.0039, -0.060516357];
};

_vehicle_778 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3662.2671, 8539.7227, -0.073500872], [], 0, "CAN_COLLIDE"];
_vehicle_778 = _this;
_this setDir 38.817444;
_this setPos [3662.2671, 8539.7227, -0.073500872];
};

_vehicle_779 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [3663.8564, 8538.1309, -0.16820285], [], 0, "CAN_COLLIDE"];
_vehicle_779 = _this;
_this setDir 52.588989;
_this setPos [3663.8564, 8538.1309, -0.16820285];
};

_vehicle_780 = objNull;
if (true) then
{
_this = createVehicle ["WarfareBunkerSign", [3640.3611, 8532.2871, 0.21392822], [], 0, "CAN_COLLIDE"];
_vehicle_780 = _this;
_this setDir -141.20993;
_this setVehicleInit "this setObjectTexture [0, ""zupa.jpg""]";
_this setPos [3640.3611, 8532.2871, 0.21392822];
};

 

 

 

help pls

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...