DavidDynasty / CaliCoastRP

CaliCoastRP Server
0 stars 0 forks source link

esx_dealer job / Society script. #70

Closed DavidDynasty closed 4 years ago

DavidDynasty commented 4 years ago

When trying to put money into the society bank for the company it gives me this error but works for the banker job.

SCRIPT ERROR: @esx_society/server/main.lua:89: attempt to index a nil value (local 'society') SCRIPT ERROR: @esx_society/server/main.lua:89: attempt to index a nil value (local 'society') SCRIPT ERROR: @esx_society/server/main.lua:89: attempt to index a nil value (local 'society') SCRIPT ERROR: @esx_society/server/main.lua:89: attempt to index a nil value (local 'society') Sending heartbeat to live-internal.fivem.net:30110 SCRIPT ERROR: @esx_society/server/main.lua:89: attempt to index a nil value (local 'society')

rolocyenom commented 4 years ago

Make sure whatever job is giving the error has accounts "addon_account" table in the database

DavidDynasty commented 4 years ago

fixed