mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-28 18:51:50 +03:00
0.994
+ added client side caching of trader menus = faster less server load. + removed stock count on buy menus and replaced with yellow color coding if out of stock. + reworked purchased vehicle spawning and added parachute drop.
This commit is contained in:
@@ -16,7 +16,7 @@ _location = _worldspace select 1;
|
||||
|
||||
//Generate UID test using time
|
||||
// _uid = str( round (dateToNumber date)) + str(round time);
|
||||
_uid = _worldspace call dayz_objectUID3;
|
||||
_uid = _worldspace call dayz_objectUID2;
|
||||
//_uid = format["%1%2",(round time),_uid];
|
||||
|
||||
if (_spawnDMG) then {
|
||||
@@ -127,7 +127,6 @@ dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,_object];
|
||||
if (_selection in dayZ_explosiveParts and _dam > 0.8) then {_dam = 0.8};
|
||||
[_object,_selection,_dam] call object_setFixServer;
|
||||
} forEach _array;
|
||||
|
||||
|
||||
_object setFuel _fuel;
|
||||
|
||||
@@ -135,7 +134,5 @@ dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,_object];
|
||||
|
||||
_object call fnc_vehicleEventHandler;
|
||||
|
||||
_object setVariable ["JustSpawned",nil,true];
|
||||
|
||||
diag_log ("PUBLISH: Created " + (_class) + " with ID " + str(_uid));
|
||||
};
|
||||
Reference in New Issue
Block a user