Lusty94
Tebex StoreSupport DiscordGitHubCFX Profile
  • 👋 Lusty94 Scripts
  • 💵Store Discounts
  • 📥 Script Installation
  • 🤝Supported Scripts
  • 📜Paid Resouces
    • 🍻Bars
      • 🔧Changelogs
      • 💼 Jobs
      • 📦Stashes
      • 👁️Blips
      • 🧩Props
      • 👆Interaction Locations
      • 📸CCTV
      • 🍳Recipes
      • 📬Supplies
      • 🥦Ingredients
    • 🍁Weed Shops
      • 🔧Changelogs
      • 💼 Jobs
      • 📦Stashes
      • 👁️Blips
      • 🧩Props
      • 👆Interaction Locations
      • 🍃Picking
      • 📸CCTV
      • 🍳Recipes
      • 📬Supplies
      • 🥦Ingredients
      • 🚬Consumables
    • 💲Money Wash
    • 💰Pawn Shop
      • 🔧Changelogs
      • 🛒Pawnshop Locations
    • 📲Drug Sales
      • 🔧Changelogs
      • 📲Selling
      • 💻Default Configuration
    • 🚗Chop Shop
      • 🔧Changelogs
      • 📅SQL
      • 🗣️Commands
      • 📋Reputation
      • 💰Selling
      • 🚗Chop Shops
      • 💻Default Configuration
    • 🚘Vehicle Shop
      • 🔧Changelogs
      • 📅SQL
      • 🗣️Commands
      • 📥Database
      • 🚘Vehicle Shops
      • 💻Default Configuration
    • 🚗Rental
    • 🚙Towing
    • 🍲Restaurants
    • 💊Drugs
    • 🍁Weed
  • 📜Free Resources
    • 🛒Shops
      • 🔧Changelogs
      • 🛒Adding Shops
      • 🪛Configuration
    • 🖥️Boss Menu
      • 🔧Changelogs
      • 💻Adding Job Locations
    • ✅Green Zones
      • 🔧Changelogs
      • 📌Adding Zones
Powered by GitBook
On this page
  1. Paid Resouces
  2. Weed Shops

Picking

Adding more PICKING LOCATIONS

  • Adding more picking locations is very simple via the config.lua file in the Config.Picking section

  • To add other shop target zones simply add your ShopName as they key and then customize the values to suit your server needs in Config.Picking

  • The target event requires args being passed which is the ShopName and the strain

Config.Picking = {
    ['My Cool Shop'] = {
        { 
            Name = "my_cool_strain_target",
            Location = vector3(378.14, -813.32, 29.0),
            Size = vec3(0.7, 0.7, 1.25),
            Width = 0.7, Height = 0.7, Heading = 250.98,
            MinZ = 28.5, MaxZ = 30.0, Distance = 2.0,
            Icon = 'fa-solid fa-cannabis', Label = 'Pick My Cool New Strain',
            job = Config.CoreSettings.Jobs['My Cool Shop'].name, 
            strain = 'my_cool_new_strain', -- ✅ Pass strain
            args = { shopName = "My Cool Shop",  }, -- ✅ Pass shopName
        },
    },
}
  • To add more strains you will need to modify the following event in server/funcs.lua

    lusty94_weedshops:server:PickCrop
  • Whatever you name your strain in the config file, you must ensure it matches here in the strainItems table

  • You must also ensure the item that the new strain gives must be in your items.lua file

local strainItems = {
        tropical = "tropicalpunch_crop",
        sherb = "sunsetsherbert_crop",
        lemon = "lemontree_crop",
        purple = "purplepunch_crop",
        kush = "kushmintz_crop",
        apple = "applefritter_crop",
        mimosa = "mimosa_crop",
        cereal = "cerealmilk_crop",
        gelato = "gelato45_crop",
        biscotti = "biscotti_crop",
        wedding = "weddingcake_crop",
        strawbruntz = "strawberryruntz_crop",
        gorilla = "gorillaglue_crop",
        
        my_cool_new_strain = "my_cool_new_item_name",
        
    }

Last updated 2 months ago

📜
🍁
🍃