HumanTree92/VENT_ESX_Scripts

esx_advancedjail error

Closed this issue · 6 comments

Questions
Which Script are you having Issues with?: esx_advancedjail
Have you made changes to anything besides the config.lua?: no
Have you looked through the Closed Topics?: cant find
Have you looked through the Wiki?: there is no fix for this
Are you using a Pre-Installed ESX? If Yes who?: i donwloaded from esx-legacy latest version all is working just jail not work
What Verison of ESX Legacy are you using?: 1.7.5
Are you using OneSync?: yes
Linux or Windows?: Windows

Describe the Bug | A Clear & Concise Description of the Bug

Type /jail id time and player go in jail but error show in server console here is link from screenshot: https://ibb.co/1Kwj7Rn

Try this and let me know if there is any more errors a6f205c

Hi thanks for fast response i changed it to core at line 211 in server main and new error pop
up [script:esx_advancedj] SCRIPT ERROR: @esx_advancedjail/server/main.lua:211: attempt to index a nil value (global 'Core')
[script:esx_advancedj] SCRIPT ERROR: @async/async.lua:38: attempt to perform arithmetic on a table value (local 'queue')
[script:esx_advancedj] > parallelLimit (@async/async.lua:38)
[script:esx_advancedj] > fn (@esx_advancedjail/server/main.lua:113)

there is my file from my server with changed esx to core https://www.uploadlite.com/tHStl4c2vbRtIGh

Just remove Core.SavePlayer for some reason the new Team doesn't want people to be able to execute the Save Player function from other scripts.

so need complete remove line 211 ?

Yup just like this 9f9b5b5

Thanks alot now no single error keep up good work have nice day