For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

This page will give you the information you need to setup our weedshop script.

Make sure you read everything carefull when installing this resource.

Dependencies

qb-core by qbcore-framework qb-target by qbcore-framework or ox_target by overextended qb-input by qbcore-framework or ox_lib's input by overextended

How to install

  • Download and unzip the thommie-weedshop.zip

  • Add "ensure thommie-weedshop" to your server.cfg

  • (re)start your server and you are done.

How to add new weedshops

You can create new weedshops easily by going to the config.lua, once there you head over to Config.Weedshops (line 11 by default). Now you can follow the template we have made and change the values.

Weedshop Template:

['shop_name'] = {
    name = 'Example Store', -- This is the name of the weedshop
    job = 'example', -- This is the job linked to the weedshop
    scenario = 'WORLD_HUMAN_TOURIST_MOBILE', -- This is the scenario that the ped will be playing
    targets = { -- This is the list of targets
        register = {pos = vector3(0.0, 0.0, 0.0), width = 0.0, length = 0.0, heading = 0.0, minz = 0.0, maxz = 0.0},
        counter = {pos = vector3(0.0, 0.0, 0.0), width = 0.0, length = 0.0, heading = 0.0, minz = 0.0, maxz = 0.0},
        storage = {pos = vector3(0.0, 0.0, 0.0), width = 0.0, length = 0.0, heading = 0.0, minz = 0.0, maxz = 0.0},
        bong = {pos = vector3(0.0, 0.0, 0.0), width = 0.0, length = 0.0, heading = 0.0, minz = 0.0, maxz = 0.0},
    },
},

Last updated