keep getting this repeating over and over again
AllowedVehiclesLi> 11:53:46 Error Zero divisor 11:53:46 File z\addons\dayz_server\init\server_functions.sqf, line 264 11:53:46 Error in expression <ect _lastIndex]; }; AllowedVehiclesList resize _lastIndex; }; if (count Allowed> 11:53:46 Error position: <resize _lastIndex; }; if (count Allowed> 11:53:46 Error Zero divisor 11:53:46 File z\addons\dayz_server\init\server_functions.sqf, line 266 11:53:46 "DEBUG: unable to find suitable vehicle to spawn" 11:53:46 Error in expression <esList set [_index, AllowedVehiclesList select _lastIndex]; };
these are the lines it refering too
264. _lastIndex = (count AllowedVehiclesList) - 1;
265. if (_lastIndex != _index) then {
266. AllowedVehiclesList set [_index, AllowedVehiclesList select _lastIndex];
any other info needed then please ask
thanks for help with this