mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Update server spawn_vehicles
Updated loot spawning code for vehicle cargo. Also it is faster and more efficient to call spawn_vehicles repeatedly in one thread rather than spawn it hundreds of times (opening hundreds of simultaneous script threads).
This commit is contained in:
@@ -12,11 +12,11 @@ if (isServer) then {
|
||||
//Send request
|
||||
_key = format["CHILD:304:%1:",_id];
|
||||
_key call server_hiveWrite;
|
||||
diag_log format["DELETE: %1 Deleted by ID: %2",_activatingPlayer,_id];
|
||||
diag_log format["DELETE: Player %1 deleted object with ID: %2",_activatingPlayer,_id];
|
||||
} else {
|
||||
//Send request
|
||||
_key = format["CHILD:310:%1:",_uid];
|
||||
_key call server_hiveWrite;
|
||||
diag_log format["DELETE: %1 Deleted by UID: %2",_activatingPlayer,_uid];
|
||||
diag_log format["DELETE: Player %1 deleted object with UID: %2",_activatingPlayer,_uid];
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user