Welcome to dreamscratching! [v1.0 RELEASED]
That is my first NUI, and public useful resource I’ve made! After scrolling a bit via the releases I discovered a few scratch card sources which regarded pretty easy to make. So, I made a decision to make my very own one.

Options

  • ESX, when you bought a little bit of useful resource expertise you might most likely change it to a unique framework actually simply although!
  • NUI included. Not only a boring ‘use merchandise’ and get cash
  • Language configuration (contains forex, notifications, …)
  • Actually customizable! (Change e.g. win/lose modifications, worth cash, notifications, scratch quantity, …)
  • Included .sql file. Simply addable to present objects (so you could possibly add it to your store)
  • Constructed-in debug mode
  • Constructed-in cooldown system, gamble accountable youngsters :relieved:
  • Light-weight useful resource!

Config

  • Language
  • Cooldown timer (might be set to 0, so disabled)
  • Present notification on energetic cooldown?
  • Present notification when utilizing a ticket?
  • Present notification of your winnings?
  • Required scratching floor which must be eliminated to ensure that worth to be detected
  • Debug mode
  • Win possibilities, costs & messages of costs

Set up

Observe es_extended is required (for different frameworks, take away dependencies { } in fxmanifest.lua)

  1. Obtain the newest model right here
  2. Extract into your sources/ folder (select wherever you prefer it to be)
  3. run the .sql file, it will add scratch_ticket as an merchandise
  4. All set, verify the console for errors, if none attempt it out in-game: /giveitem [your_playerid] scratch_ticket 1

Showcase

Preview


zkZZmdn


HY5YlF7


5O47rV4

Obtain

GitHub

In case you discover any points, please report them by way of GitHub Issues or beneath within the replies. Additionally, I’d prefer to know -out of curiousity- if you’ll use this useful resource. Cheers

xDreamLand aka Ruwbix :mascot:



Looking for paid scripts? Click here