mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-26 17:51:51 +03:00
player_wearclothes changes, string changes and maintain area moving (#1783)
* player_wearclothes changes, string changes and maintain area moving Adds 2 toggles for admins to modify: DZE_backpackRemove forces the player to drop his/her backpack when they change gear. DZE_maintainCurrencyRate modifies the amount of worth each item is worth to maintain. Changes the error message in player_wearClothes to tell the player why they can't change gear yet Remove some debug lines that spam RPT * Rework Rework as per @ebaydayz * Rework Rework
This commit is contained in:
@@ -45,7 +45,7 @@ if (_classname isKindOf "Bag_Base_EP1") exitWith {
|
||||
_PlayerNear = {isPlayer _x} count ((getPosATL _holder) nearEntities ["CAManBase", 10]) > 1;
|
||||
if (_PlayerNear) exitWith {localize "str_pickup_limit_4" call dayz_rollingMessages;};
|
||||
|
||||
diag_log("Picked up a bag: " + _classname);
|
||||
//diag_log("Picked up a bag: " + _classname);
|
||||
|
||||
_hasBag = unitBackpack player;
|
||||
|
||||
@@ -88,4 +88,4 @@ _wpn = primaryWeapon player;
|
||||
_ismelee = (getNumber (configFile >> "CfgWeapons" >> _wpn >> "melee") == 1);
|
||||
if (_ismelee) then {
|
||||
call dayz_meleeMagazineCheck;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user