ESX To qbcore pls

I tried to convert this script into qbcore but i had no luck can some one do it for me?
server.lua (3.0 KB)
client.lua (1.6 KB)

What inventory are you using as this also plays a role

ox inv

I’ll do it later on

ok thanks

client.lua (1.6 KB)
server.lua (3.1 KB)

Untested, if it doesn’t work you need to fix yourself, i think the get weapon hash in client might be a problem.

1 Like

it works thanks

1 Like