Attempt to index a nil value (global 'ESX') help

Hi, i need help

Can you post your start order from the server.cfg, as well as the entire server.lua.

It’s my first time when I using the server
server.cfg
https://pastebin.com/mCrjpJu1

allcity_wallet/server/server.lua
https://pastebin.com/Vr6S31yf

On line 51 of the server.lua, change this

AddEventHandler('allcity_wallet:getMoneys', function()

To this

AddEventHandler('allcity_wallet:getMoneys', function(source)

And let me know if that fixes the issue.

It did not solve the problem

If I want to add money by admin and I don’t see any amount of money on the server and database

Your server.cfg has a typo.

You are starting es-extanded when it should be es-extended

Line 27 of your server.cfg

what should I do

Change it? To what I put. es_extended

I missed that one in the server.cfg, if you do what Crutchie has instructed, that will fix a lot of your issues as it will then be named correctly and start correctly.

i love you, thank you

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