mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Tidyness changes
This changes a few functions that were being used to use the already defined variables instead Fixed a few string issues with Advanced trading and plot managment.
This commit is contained in:
@@ -532,7 +532,7 @@ if (_canBuild select 0) then {
|
||||
_tmpbuilt setVariable ["ownerPUID",_playerUID,true];
|
||||
PVDZ_obj_Publish = [_combination,_tmpbuilt,[_dir,_location,_playerUID, _vector], []];
|
||||
if (_lockable == 3) then {
|
||||
_friendsArr = [[([player] call FNC_GetPlayerUID),(name player)]];
|
||||
_friendsArr = [[_playerUID,(name player)]];
|
||||
_tmpbuilt setVariable ["doorfriends", _friendsArr, true];
|
||||
PVDZ_obj_Publish = [_combination,_tmpbuilt,[_dir,_location,_playerUID, _vector], _friendsArr];
|
||||
};
|
||||
@@ -553,7 +553,7 @@ if (_canBuild select 0) then {
|
||||
if (DZE_permanentPlot) then {
|
||||
_tmpbuilt setVariable ["ownerPUID",_playerUID,true];
|
||||
if (_canBuild select 1) then {
|
||||
_friendsArr = [[([player] call FNC_GetPlayerUID),(name player)]];
|
||||
_friendsArr = [[_playerUID,(name player)]];
|
||||
_tmpbuilt setVariable ["plotfriends", _friendsArr, true];
|
||||
PVDZ_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location,_playerUID, _vector], _friendsArr];
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user