OTHERPLANET DOCS
  • 🪐About US
  • 💻Scripts
    • 🅿️OP Garages V2
      • Installation
      • Tutorials
        • Vehicles not shown in Garage
        • How to add player to Garage Admin
      • Configuration
      • Customization
      • Housing Integration
      • Garage Admin Usage
      • Admin Commands
      • Plate Changer
      • Sub Owners
      • Currency Change
      • ByPass Vehicle Types
    • 🔫OP Crime Organisations
      • Installation
      • Tutorials
        • How to add player to Crime Admin
      • Config Files
      • Customization
      • Tablet as Item
      • Global States
      • Exports
        • Server Side
    • 🚘OP Mechanic Job
      • Installation
      • Config File
      • Setup Jobs
      • Setup Dispatch
      • Get Duty
      • Update Tablet Stats
      • Notifications/Progressbar
      • Discord Logs
    • 🗒️OP Requests
      • Installation
      • Config
      • Usage
    • 🌇OP HUD
      • Config File
      • Instalation
      • Progress Bar Usage
      • Notify Usage
      • Alcohol Status & Stamina
    • 🏎️OP Vehicle Theft
      • Installation
      • OX Inventory
      • Translate Sounds
      • Config
      • Customization
    • 🅿️OP Garages V1 (OLD)
      • Installation
      • Config
        • Main
        • Garages Locations
        • Vehicles and Brands
      • Customization
      • Vehicle Types
      • Jobs
      • Exports
      • Other
Powered by GitBook
On this page
  1. Scripts
  2. OP Garages V2

ByPass Vehicle Types

If your server uses custom vehicle types not supported by our script, you can bypass MySQL queries by using our dedicated function.

This function is useful if you don't want to change vehicle types in your database — for example, because many other scripts on your server rely on the current ones. Below is an example of how the bypass works:

Config.ByPassVehicleTypes = {
    car = "car",
    sea = "sea",
    air = "air"
}
PreviousCurrency ChangeNextOP Crime Organisations

Last updated 2 days ago

💻
🅿️