Errors with custom loot on namalsk

Merg

Well-Known Member
Hello,

I am working on custom loot tables for Namalsk. When i start up my server the RPT gives me a lot of errors on a variable, _canType. Zombies and loot does not spawn because of this.
Here:
Code:
 9:00:58   Error Undefined variable in expression: _cantype
9:00:58 File mpmissions\__cur_mp.namalsk\Fixes\compile\spawn_loot.sqf, line 39
9:00:58 Error in expression <find _iClass;
_weights = dayz_CLChances select _index;
_cntWeights = count _weig>
9:00:58   Error position: <select _index;
_cntWeights = count _weig>
9:00:58   Error Zero divisor
9:00:58 File mpmissions\__cur_mp.namalsk\Fixes\compile\spawn_loot.sqf, line 27
9:00:58 Error in expression <0) then {
_item addMagazineCargoGlobal [_canType,_tQty];
_qty = _qty + _tQty;
};>
9:00:58   Error position: <_canType,_tQty];
_qty = _qty + _tQty;
};>

If anyone knows a solution, go ahead and tell me!

Thanks
 
Back
Top