Esx_boatshop not working

Hi there,
I have some problems with esx_boatshop.
I pasted the script in server.cfg and added the sql to my database but its not working. On the marker there is nothing to interact with. There is no shop on the coords of the shop.
I get this error in the script:
“script:esx_boatshop SCRIPT ERROR: @esx_boatshop/client/main.lua:362: attempt to perform arithmetic on a nol value (global ‘playerCoords’)”

Can anyone help me?

search:

            local distance = #(playerCoords - v.Pos)

change to

local distance = #(coords - v.Pos)
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.