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
    • ⛏️Mining
      • 🔧Changelogs
      • 📅SQL
      • 📈XP System
      • 🎒Mining Quests
      • ⛏️Purchasing Tools
      • 👕Outfits
      • 🚛Mining Zones
      • 🥘Panning
      • 🔥Smelting
      • 🛠️Crafting
      • 💲Selling
      • 👷Coal Delivery
    • 🚗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. Mining

Selling

  • Player can sell the goods earnt, crafted or smelted from mining for configurable amounts

  • The coords for the ped must be vector4

  • You can define multiple categories and sellable items in the Selling table


Config.Selling = {-- define items that can be sold at the selling ped
    Ped = {
        model = 's_m_y_dockwork_01', -- ped model
        coords = vector4(759.51, -677.56, 28.84, 283.03),  -- ped spawn coords  must be vector4 (this is also used as the blip coordinates if enabled below)
        icon = 'fa-solid fa-money-bill', -- target icon
        label = 'Sell Ingots', -- target label
        distance = 3.0, -- target distance
    },
    blip = { -- define blip settings
        enabled = true, -- enable blip for this location
        id = 605, -- blip id
        colour = 5, -- blip colour
        scale = 0.7, -- blip scale
        title = 'Sell Ingots', -- blip title
    },
    Selling = {-- define items that can be sold at the selling ped
        ['Ingots'] = { -- the key is the category name
            ['rawsulfur'] = { -- the key is the item name that can be sold
                value = { -- define the items min and max values PER UNIT (this is multiplied by the amount the player has on them)
                    min = 15, -- minimum value
                    max = 35, -- maximum value
                },
            },
            --add more sellable items as required here
        },
        ['Jewellery'] = { -- the key is the category name
            ['diamondearring'] = { -- the key is the item name that can be sold
                value = { -- define the items min and max values PER UNIT (this is multiplied by the amount the player has on them)
                    min = 100, -- minimum value
                    max = 150, -- maximum value
                },
            },
            --add more sellable items as required here
        },
        ['Rare Minerals'] = { -- the key is the category name
            ['zircon'] = { -- the key is the item name that can be sold
                value = { -- define the items min and max values PER UNIT (this is multiplied by the amount the player has on them)
                    min = 250, -- minimum value
                    max = 500, -- maximum value
                },
            },
            --add more sellable items as required here
        },
    },
}

Last updated 1 day ago

📜
⛏️
💲
Page cover image