OTHERPLANET DOCS
CtrlK
  • 🪐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
      • Script Integrations
        • ps-housing
        • qs-smartphone
        • lb-phone
    • 🔫OP Crime Organisations
      • Installation
      • Tutorials
        • How to add player to Crime Admin
      • Config Files
      • Customization
      • Tablet as Item
      • Global States
      • Exports
        • Server Side
    • 🎁OP Container Wars
      • Installation
      • Tutorials
        • How to add player to Admin List?
      • Configuration
      • Multiple Rewards
      • Customization
      • Time Zones
    • 🗒️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
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 ChangeNextScript Integrations

Last updated 1 month ago