Page cover

Give Car

Rise-GiveCar - ESX & QBCore Support

This script supports both ESX and QBCore frameworks and can be selected from the config file.

πŸš€ Features

  • βœ… ESX Framework Support

  • βœ… QBCore Framework Support

  • βœ… Modern and Beautiful UI

  • βœ… Discord ID Check

  • βœ… Plate Check

  • βœ… Color Selection

  • βœ… Responsive Design

πŸ“‹ Installation

  1. Copy the script into your server’s resources folder

  2. Add ensure rise-givecar to your server.cfg

  3. Configure the settings in the config file

  4. Restart the server

-- Config.lua

RiseDev = {}

RiseDev.Framework = {
    Type = "QBCore", -- "QBCore", "ESX",
    ESXTrigger = "esx:getSharedObject", -- ESX trigger name
    QBCore = 'qb-core',
    QBCoreExport = "GetCoreObject", -- QBCore Export Name
}

RiseDev.Information = {
    MinimumPlate = 3,
    Command = 'givecar',
}

RiseDev.Discord = {
    EnableDiscordCheck = true,
    RequiredDiscord = true,
    AllowedDiscordIds = {
        "1239306741150384208",
        "987654321098765432",
    }
}

RiseDev.ColorVehicleColor = {
    {label = "Black", value = 0},
    {label = "White", value = 111},
    {label = "Red", value = 27},
    {label = "Blue", value = 64},
    {label = "Green", value = 50},
    {label = "Yellow", value = 88},
    {label = "Orange", value = 38},
    {label = "Purple", value = 145}
}
Locale = {}

Locale.Notify = {
    AlanlariDoldur = 'Please fill in all fields!',
    PlakaEnAZ = 'The license plate must be at least 3 characters!',
    Bulunamadi = 'Player not found!',
    GecerliPlaka = 'This license plate is already in use!',
    Basarili = 'Vehicle successfully granted!',
    AracAldiniz = 'You received a new vehicle!',
    YetkinYokBrom = 'You do not have permission to use this command!',
    FrameworkError = 'Failed to load framework!',
    ESXError = 'ESX framework not found!',
    QBCoreError = 'QBCore framework not found!',
}

πŸ“ž Support

Last updated