Installation

Step 1 : Configuring Items

Add the following lines to the ox_inventory\data\items.lua file to define the new items used by the lottery system:

['lottery_ticket'] = {
    label = 'Ticket Lotterie',
    weight = 190,
    stack = false,
    consume = 0,
},

['lottery_computer'] = {
    label = 'Ordinateur Lotterie',
    weight = 190,
    stack = false,
    consume = 0,
},

['paper'] = {
    label = 'Papier',
    weight = 1,
    stack = true,
    close = true,
    description = 'Du papier blanc pour écrire'
},

['ink'] = {
    label = 'Encre',
    weight = 5,
    stack = true,
    close = true,
    description = 'De l\'encre noire pour écrire'
},

Step 2 : Adding Images

To properly display item images in the game:

  1. Copy the images from the kr_lottery\INSTALLATION folder.

  2. Paste them into the ox_inventory\web\images folder.

Step 3 : Adding SQL

Last updated