Help simpleBanking

I’m trying to use simplebanking + essentialmode But I’m having a mistake. Every time I start the server the following error happens.

server.lua:80: function arguments expect near ´>´

is that <- or <= on line 80?

this is <= in line 80

Don’t use ( and ) for your if statements.

This would be a correct if statement block.

if tonumber(rounded) <= tonumber(user:money) then
    -- your code
end

And this would be invalid, note the extra ( and ) brackets:

if (tonumber(rounded) <= tonumber(user:money)) then
    -- your code
end

I put mine in ('s that’s why I don’t see how it’s not working

Please read what I just said very carefully. Im telling to NOT use ( and ) for if statements.

https://www.lua.org/pil/4.3.1.html

Don’t look at any other resource then… It works just fine in casing your statement in ()'s

{ I was wrong, it was not the () dealio).

I tried to do what you said. But you’re still making the same mistake

I changed

	if(tonumber(rounded) <= tonumber(user:money)) then
          user:removeMoney((rounded))
          deposit(source, rounded)
          local new_balance = user.bank
          TriggerClientEvent("es_freeroam:notify", source, "CHAR_BANK_MAZE", 1, "Maze Bank", false, "Deposited: ~g~$".. rounded .." ~n~~s~New Balance: ~g~$" .. new_balance)
          TriggerClientEvent("banking:updateBalance", source, new_balance)
          TriggerClientEvent("banking:addBalance", source, rounded)
          CancelEvent()
        else
          TriggerClientEvent('chatMessage', source, "", {0, 0, 200}, "^1Not enough cash!^0")
          CancelEvent()
        end

For

if(tonumber(rounded) <= tonumber(user:money) then
          user:removeMoney((rounded))
          deposit(source, rounded)
          local new_balance = user.bank
          TriggerClientEvent("es_freeroam:notify", source, "CHAR_BANK_MAZE", 1, "Maze Bank", false, "Deposited: ~g~$".. rounded .." ~n~~s~New Balance: ~g~$" .. new_balance)
          TriggerClientEvent("banking:updateBalance", source, new_balance)
          TriggerClientEvent("banking:addBalance", source, rounded)
          CancelEvent()
        else
          TriggerClientEvent('chatMessage', source, "", {0, 0, 200}, "^1Not enough cash!^0")
          CancelEvent()
        end

Discover the error. Just change the following code for the other
Original:

 if(tonumber(rounded) <= tonumber(user:money)) then

You have a : between user and money, where it should be a .

Fixed:

if(tonumber(rounded) <= tonumber(user.money)) then