medeiros_nathan_09
Member
Can someone tell me how to fix this error:
20:49:45 "CRASHSPAWNER: Starting spawn logic for Crash Spawner"
20:49:45 Error in expression <eep (_frequency / 4);
};
if (random 1 <= _spawnChance) then {
_debugarea = get>
20:49:45 Error position: <<= _spawnChance) then {
_debugarea = get>
20:49:45 Error <=: Type String, expected Number
20:49:45 File z\addons\dayz_server\compile\server_spawnCrashSite.sqf, line 43
20:49:45 "CLEANUP: INITIALIZING CLEANUP SCRIPT"
here ta line 43:
while {(_spawnOnStart <= 0) AND {(time < _timeToSpawn)}} do {
sleep (_frequency / 4);
};
// Percentage roll
43- if (random 1 <= _spawnChance) then {
_debugarea = getMarkerPos "respawn_west";
_crash = _crashModel createVehicleLocal _debugarea;
sleep 0.01;
_width = ((boundingBox _crash) select 0) select 0;
_length = ((boundingBox _crash) select 0) select 1;
20:49:45 "CRASHSPAWNER: Starting spawn logic for Crash Spawner"
20:49:45 Error in expression <eep (_frequency / 4);
};
if (random 1 <= _spawnChance) then {
_debugarea = get>
20:49:45 Error position: <<= _spawnChance) then {
_debugarea = get>
20:49:45 Error <=: Type String, expected Number
20:49:45 File z\addons\dayz_server\compile\server_spawnCrashSite.sqf, line 43
20:49:45 "CLEANUP: INITIALIZING CLEANUP SCRIPT"
here ta line 43:
while {(_spawnOnStart <= 0) AND {(time < _timeToSpawn)}} do {
sleep (_frequency / 4);
};
// Percentage roll
43- if (random 1 <= _spawnChance) then {
_debugarea = getMarkerPos "respawn_west";
_crash = _crashModel createVehicleLocal _debugarea;
sleep 0.01;
_width = ((boundingBox _crash) select 0) select 0;
_length = ((boundingBox _crash) select 0) select 1;