Installation guide

  1. Download your script from keymaster

  2. Place the script in your resources folder

  3. Write the script into your server.cfg ensure baspel_scratchcard

  4. Set up config to your liking 👍

  5. Add image which you can download from this page (or you can make your own image by yourself)

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

  7. [OPTIONAL] You can also translate the whole script if you want, in translate.lua 😂

  8. Restart your server 👍

  9. Have fun 🎉

You can download inventory image here:

Last updated