Closed preister closed 9 years ago
There was a strange code causing this syntax error:
Error in expression <m of the jeweller to rob him!" };
if !(_kassa) then { _kassa = 1000; };
if (_ri>
Error position: <_kassa) then { _kassa = 1000; };
if (_ri>
Error Undefined variable in expression: _kassa
File mpmissions\__CUR_MP.Altis\core\actions\fn_robJewellers.sqf, line 18
If I remember correctly _kassa variable is commented out, so this bit of code is pointless - hence the error. It should work ok with the "if !(_kassa) then { _kassa = 1000; };" as this refers to how much money is in the till, but it just gets told to pay out between 30k - 75k anyways I think.
Yeah I just got rid of it for now in both robShops and robJeweler just no need to have this code in if its not used and causing trouble. - If we want to have something resembling a "global" economy there is anyway a lot more work necessary than just this so adding it back in when we actually need it seems the more sensible approach.
Tested :+1:
Part of #68
Tested with jeweler in the BugFix Branch