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 community.

Script okokCrafting [ESX]

kaami27

Bronze Elite
Joined
Sep 5, 2021
Messages
11
Reaction score
2
Points
61
Age
28
Location
Germany
its this right :

ESX.TriggerServerCallback("okokCrafting:inv2", function(item)
local key = item.name
local value = {key = item.count}
table.insert(invItems, value)
added = added + 1

Can not craft anything
 

Zan1456

Zan#1456
Super Moderator
Joined
Mar 19, 2021
Messages
391
Solutions
1
Reaction score
381
Points
301
Age
21
Location
Hungary
Website
fivemdrive.rf.gd
its this right :

ESX.TriggerServerCallback("okokCrafting:inv2", function(item)
local key = item.name
local value = {key = item.count}
table.insert(invItems, value)
added = added + 1

Can not craft anything
Test:
 

TheScrantonStrangler

Bronze Elite
Joined
Oct 6, 2021
Messages
16
Reaction score
0
Points
51
Location
Yes
So I’m not the brightest, anyone else having issues with weapon crafting? Shows an error on server side for local key item.name.
Error occurred even before editing anything.
 

TheScrantonStrangler

Bronze Elite
Joined
Oct 6, 2021
Messages
16
Reaction score
0
Points
51
Location
Yes
I think you entered an object name incorrectly.
I didn’t change a single thing on the file. That was fresh add no changes. I’ll go through and look at the lua and such when I get home. I know linop had the same issue so if I get it to work I’ll repost on here.
 

Yvan XD

VIP
Joined
Oct 1, 2021
Messages
240
Reaction score
82
Points
126
Location
Munich
I read on the developer's forum that linden inventory and ox are not working ....
 

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