Project M
  • FAQ
  • Asset Escrow
  • pm_queue
    • Features
    • Installation
    • Config.lua
    • Verification Themes
    • Queue Themes
    • Common Issues
  • pm_vpark
    • Features
    • Installation
    • Config.lua
Powered by GitBook
On this page
  1. pm_vpark

Config.lua

Config.ImpoundPrice = 350           -- Price to get vehicle out of impound
Config.ParkingPrice = 650           -- Price to Park vehicle. /v buy
Config.ImpoundAnywhere = false      -- or false to disable impound menu from anywhere.
Config.ParkDistance = 50            -- distance you want players to keep buying parking spots ( this cannot be turned off)
Config.TransferDistance = 5.0       -- Maximum distance to find the nearest player for vehicle transfer
Config.DefaultNote = 'Lost Vehicle' -- default note
Config.CustomUI = true              -- Set to true for custom UI, false for ox_lib UI
Config.Debug = true -- Set this to false to disable debug prints

Config.Jobs = {
    ["police"] = true,
    ["mechanic"] = true
}

Config.AdminGroups = {
    ["admin"] = true,
    ["superadmin"] = true
}

Config.Commands = {
    vehicle = {
        buy = 'vb',
        park = 'vp',
        list = 'vl',
    },
    adminPark = 'apark', -- Command for admin to delete nearby vehicles
}
  • jobs for and admin groups that can impound vehicles.

  • Command list.

Config.VehicleKeys = {
    MK_KeysExport = false,     -- Enable MK_KeysExport
    WasabiKeysExports = false, -- Enable WasabiKeysExports
    MrNewb = false,            -- Enable MrNewb Vehicle Keys
    Jaksam = false,            -- Enable Jaksam Vehicle Keys
    Renewed = false,           -- Enable Renewed Vehicle Keys
    Quasar = false,            -- Enable Quasar Vehicle Keys
    T1ger = false,             -- Enable T1ger Vehicle Keys
    Custom = {                 -- Custom key export
        enabled = true,        -- Enable custom key export
        exportFunction = function(vehicle)
            exports['your_custom_keys']:GiveKey(GetVehicleNumberPlateText(vehicle))
        end
    }
}

PreviousInstallation

Last updated 2 months ago