Welcome to the forum, Guest

To access forum content and all of our services, you must register or log in to the forum. Joining the forum and all content on the forum is completely free.

The world's largest FiveM Forum and GTA 5 Forum address

Hello dear member,
We work 24/7 to provide the most valuable content that will be of use to you,
you can share content and support the entire FiveM & GTA 5 mods.

Script MF Doors

Scar05

Member
Joined
Dec 9, 2021
Messages
5
Reaction score
1
Points
151
Location
Bulgaria
I have this error : You have not added the ESX.GetJobs function, making this highly unlikely to return a proper list of jobs.
How can i fix it?
 

wutau179

Gold Elite
Joined
May 13, 2021
Messages
150
Reaction score
142
Points
256
you must add this command to ESX to retrieve the list of jobs properly.
Add to: es_extended/server/functions.lua:

ESX.GetJobs = function()
return ESX.Jobs
end
 

m0rtos

Member
Joined
May 9, 2022
Messages
25
Reaction score
0
Points
156
Location
Argentina
i cant make it work, when i set a door i cant lock it with the job, but i cant brake in, the player get stucks and the minigame never starts, its happening with all the minigames
 

ivan0w

Bronze Elite
Joined
Feb 4, 2022
Messages
10
Reaction score
633
Points
306
Location
Bulgaria
I have this error:
[ script:sv-doors] SCRIPT ERROR: @sv-doors/src/server/main.lua:445: bad argument #1 to 'pairs' (table expected, got nil)
[ script:sv-doors] > ref (@sv-doors/src/server/main.lua:445)
[ script:sv-doors] > <unknown> (@mysql-async/mysql-async.js:15543)

Someone help?
 

Login or register to get more out of the forum!

Login or register to get more out of the forum!

Register

Creating an account on the forum is completely free.

Register now
Log in

If you have an account, please login

Log in

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds