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
Copy the script into your serverβs
resources
folderAdd
ensure rise-givecar
to yourserver.cfg
Configure the settings in the config file
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
Discord: https://discord.gg/9J8KB2brj6

Last updated