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. Vehicle Shop

SQL

  • To ensure the vehicle shop stocking system works as intended you must run or import the SQL file provided in the folder [SQL] to your database. Failure to do so will result in errors when using the vehicle shop

CREATE TABLE IF NOT EXISTS `vehicleshop_stock` (
  `shop_name` varchar(50) NOT NULL,
  `vehicle_model` varchar(50) NOT NULL,
  `stock` int(11) NOT NULL DEFAULT 0,
  `total_sold` int(11) NOT NULL DEFAULT 0,
  `last_modified_by_name` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`shop_name`, `vehicle_model`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

Last updated 17 days ago

📜
🚘
📅
Page cover image