Closed IlMicioLetale closed 9 months ago
line 106:
if balance < (tonumber(price) * tonumber(amount)) then -- Check for money first if not enough, stop here
triggerNotify(nil, "Not enough money", "error", src)
end
add: "return" in line 108. Should be like this:
if balance < (tonumber(price) * tonumber(amount)) then -- Check for money first if not enough, stop here
triggerNotify(nil, "Not enough money", "error", src)
return
end
Thank you so much!
If money 0 still buy products same with banking