Scratch Its

A scratch-it resource capable of handling multiple ticket and game types.

Info

ti_scratchIts handles multiple scratch-off style lottery tickets and games, with realistic and satisfying scratch-off effects.

Each ticket can be configured to handle multiple different game types based off pre-existing templates.

Tickets have a range of configurable options to ensure economy restrictions are met.

A hard-cap chance of winning can be set per ticket, to further control the chance of winning beyond the default chances for varying game types.

Setup

Installation

  • Extract the resource into your resources/ directory.

  • Add start ti_scratchItsinto your server.cfg, below start ti_utils.

  • Check all files in the data/ directory. This is the folder for all configuration files.

  • Check your server console after starting this resource. Items will be automatically added to your servers shared items list from the items defined in data/items.lua, and may require a restart. A debug message will notify you of required actions.

  • Depending on what resource you intend to integrate this into, example stores that you may want to use have been provided in the [qb-shops], [ox_inventory] and [mf_inventory] directories.

  • No further installation steps are required.

Dependencies

  • Otherwise, default installations of either qb-core or ESX by txadmin recipes.

Configuration

Conflicts

  • None known.

Last updated