mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
0.66
This commit is contained in:
@@ -204,14 +204,14 @@ spawn_vehicles = {
|
||||
_qty = {_x == _vehicle} count serverVehicleCounter;
|
||||
|
||||
// If under limit allow to proceed
|
||||
if(_qty < _velimit) then {
|
||||
if(_qty <= _velimit) then {
|
||||
_isOverLimit = false;
|
||||
};
|
||||
|
||||
// TODO add counter to stop after X attempts
|
||||
// counter to stop after 5 attempts
|
||||
_counter = _counter + 1;
|
||||
|
||||
if(_counter > 5) then {
|
||||
if(_counter >= 5) then {
|
||||
_isOverLimit = false;
|
||||
_isAbort = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user