mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-18 10:16:39 +03:00
use createVeh non-array on the server
Faster by my testing. Also, some more performance related changes to server_monitor
This commit is contained in:
@@ -15,7 +15,8 @@ if ((count _position) == 2) then {
|
||||
_istoomany = _position nearObjects ["All",5];
|
||||
if ((count _istoomany) > 0) exitWith {};
|
||||
|
||||
_veh = createVehicle ["Supply_Crate_DZE",_position, [], 0, "CAN_COLLIDE"];
|
||||
//_veh = createVehicle ["Supply_Crate_DZE",_position, [], 0, "CAN_COLLIDE"];
|
||||
_veh = "Supply_Crate_DZE" createVehicle [0,0,0];
|
||||
_veh enableSimulation false;
|
||||
_veh setDir round(random 360);
|
||||
_veh setPos _position;
|
||||
|
||||
Reference in New Issue
Block a user