VIPSYSTEM

Config Documentation

Example VIP Car List:

  • model: Vehicle model.

  • label: Vehicle label.

  • count: Number of vehicles.

  • price: Price of the vehicle.

  • category: Vehicle category.

carlist = {
    { model = "adder", label = "Adder", count = 1, price = 78933333, category = "SUPER" },
    { model = "zentorno", label = "Zentorno", count = 1, price = 534, category = "SUPER" },
    -- More vehicles...
},

VIP

Defines VIP settings, including categories and car lists.

Example VIP Category:

  • category: List of vehicle categories.

VIP = {
    car = {
        category = {
            { category = 'ALL' },
            { category = 'SUPER' },
            { category = 'COMPACT' },
            -- More categories...
        },
        -- More settings...
    },
    -- More VIP settings...
},

Categories

A list of categories for the items.

Example Category:

  • name: Name of the category.

Card

A list of coin packages available for purchase.

Example Coin Package:

  • coin: Number of coins in the package.

Home

A list of vehicles available for purchase.

Example Vehicle:

  • model: Vehicle model.

  • label: Vehicle label.

  • count: Number of vehicles.

  • price: Price of the vehicle.

  • category: Vehicle category.

Bundles

Defines bundles available for purchase, including vehicle packs, weapon packs, and currency packs.

Example Bundle:

  • price: Cost of the bundle.

  • label: Label for the bundle.

  • title: Title of the bundle.

  • count: Number of items in the bundle.

  • items: List of items in the bundle.

SetVehicleKeys

Sets the owner of the vehicle with the specified license plate.

GeneratePlate

Generates a vehicle license plate based on the specified format.

GetFramework

GetDiscordAvatar

Fetches the Discord avatar for a user.

DiscordRequest

Performs an HTTP request to the Discord API.

Overview

This documentation provides an overview of the configuration settings for a script that integrates various elements like vehicle bundles, weapon packs, and currency packs within a QBCore or ESX framework. It also includes functionality for setting vehicle keys, generating license plates, and interacting with the Discord API.

Configuration Settings

Framework

  • Framework: Specifies the framework being used. Possible values are 'QBCore', 'ESX', 'OLDQBCore', or 'NewESX'.

Plate Format

  • PlateFormat: Format for vehicle license plates. Example: "VIP####" where # is replaced by a random number.

Phone System

  • Phone: Specifies the phone system being used. Possible values are "qb-phone", "gksphone", or "gcphone".

Discord

Last updated