mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
* Advanced trading tidying, spelling fixes, private fixes and string fixes. Fixes snap building issue with metal floors Fixed spelling mistakes in various scripts Fixed formatting uglyness in various scripts Fixed invalid private lines in various scripts Changed Advanced trading so buying worked more like selling, You can't select backpack if you don't have a pack nor can you select a vehicle if you don't have a vehicle. Removed some redundant strings from Advanced trading and changed a few of the strings to be more englishy Removed the ability to buy a backpack into your backpack (You cant do this anyway) Fixed a bug where if you had nothing in your backpack it would break the checkArrayInConfig script so the titlebar would not refresh correctly Removed slot counts on no backpack and no vehicle (No need for it, just clutter) Moved backpack/vehicle checking to z_at_getContainer.sqf * Last part of tidyness fixes Last part of tidyness fixes * Actual backpack fix Lets actually fix the buying backpack into backpack or backpack when you already have one. * Missing from commit Missing from commit
13 lines
471 B
Plaintext
13 lines
471 B
Plaintext
private ["_closePeople","_friendUID","_friendName"];
|
|
|
|
lbClear 7001;
|
|
if (!DZE_plotManagementMustBeClose) then {_closePeople = playableUnits;} else {_closePeople = player nearEntities ["CAManBase", 10];};
|
|
Humans = [];
|
|
{
|
|
if (isPlayer _x) then {
|
|
_friendUID = [_x] call FNC_GetPlayerUID;
|
|
_friendName = name _x;
|
|
Humans = Humans + [[_friendUID,_friendName]];
|
|
lbAdd [7001, _friendName];
|
|
};
|
|
} forEach _closePeople; // count causes Error Type Number, expected Bool here |