Get an Item to execute a Command

Hi there!

I recently bought the OKOK billing script, but to use it, I have to use a command. Instead, I would like to have an item, such as a ipad so when i use the ipad , it will execute the command for me.

I have done some research, but I have not found anything helpful for QB-Core. If you know how to create this, please respond below!

REMEMBER IT FOR QBCORE!

Script I’m using: https://okok.tebex.io/package/5246435

How about you ask the creator of said script? You paid money for it and he should provide support. And I am sure okok is willing to help in this regard.

QBCore.Functions.CreateUseableItem("ipad", function(source, item) ExecuteCommand('someCommandHere') end)