folder-arrow-downInstallation

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

circle-info

Make sure you read everything carefull when installing this resource.

Dependencies

qb-corearrow-up-right by qbcore-framework qb-targetarrow-up-right by qbcore-framework or ox_targetarrow-up-right by overextended qb-inputarrow-up-right by qbcore-framework or ox_lib'sarrow-up-right 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