Installation guide
Download your script from keymaster
Place the script in your resources folder
Write the script into your server.cfg ensure baspel_scratchcard
Set up config to your liking 👍
Add image which you can download from this page (or you can make your own image by yourself)
Add item into your supported inventory system qb-inventory ['scratch_card'] = {['name'] = 'scratch_card', ['label'] = 'Scratch Card', ['weight'] = 10, ['type'] = 'item', ['image'] = 'scratch_card.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'It may be winning, who knows...'}, ox-inventory ['scratch_card'] = {label = 'Scratch Card', description = 'It may be winning, who knows...', weight = 10}, Other inventory system will have supports in future...
[OPTIONAL] You can also translate the whole script if you want, in translate.lua 😂
Restart your server 👍
Have fun 🎉
You can download inventory image here:
Last updated