mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-23 16:40:50 +03:00
1.0.2.38 Dev
This commit is contained in:
@@ -175,7 +175,7 @@ if (isServer and isNil "sm_done") then {
|
||||
};
|
||||
|
||||
_object setdir _dir;
|
||||
_object setpos _pos;
|
||||
_object setposATL _pos;
|
||||
_object setDamage _damage;
|
||||
|
||||
if (count _intentory > 0) then {
|
||||
@@ -192,6 +192,7 @@ if (isServer and isNil "sm_done") then {
|
||||
_countr = 0;
|
||||
{
|
||||
if (_x == "Crossbow") then { _x = "Crossbow_DZ" }; // Convert Crossbow to Crossbow_DZ
|
||||
if (_x == "ItemMatchbox") then { _x = "ItemMatchbox_DZE" }; // Convert Crossbow to Crossbow_DZ
|
||||
_isOK = isClass(configFile >> "CfgWeapons" >> _x);
|
||||
if (_isOK) then {
|
||||
_block = getNumber(configFile >> "CfgWeapons" >> _x >> "stopThis") == 1;
|
||||
|
||||
Reference in New Issue
Block a user