Configuration
Config = {}
Config.VehicleShops = {
{
label = "cardealer",
position = vector3(-57.2111, -1096.6730, 26.4223),
camCoords = vector4(-48.1168, -1103.7885, 27.4223, 335.1360),
vehiclePosition = vector4(-43.6792, -1096.3363, 26.4384, 119.1244),
buyPosition = vector4(-30.3042, -1089.3048, 26.4237, 331.9723),
blip = {
label = "Cardealer",
sprite = 524,
color = 18,
scale = 0.8
},
marker = {
type = 21,
scale = vector3(.75, .75, .75),
rgba = {
r = 0,
g = 197,
b = 255,
a = 100
},
bobUpAndDown = false,
faceCamera = false,
rotate = true,
distance = 50.0,
interactDistance = 2.0
},
categories = {
["car-category1"] = {
label = "Offroad",
vehicles = {
{
name = "caracara2",
label = nil, -- To take name from game
brand = nil,
image = "offroad-car1.png",
price = 60000,
type = "car" -- airplane/... (It depends on your garage script)
},
{
name = "dubsta3",
label = "Dubsta",
brand = nil, -- To take name from game
image = "offroad-car1.png",
price = 85000,
},
{
name = "everon",
label = "Everon",
brand = nil, -- To take name from game
image = "offroad-car1.png",
price = 75000,
},
{
name = "mesa3",
label = "Mesa",
brand = nil, -- To take name from game
image = "offroad-car1.png",
price = 80000,
},
{
name = "rebel",
label = "Rebel",
brand = nil, -- To take name from game
image = "offroad-car1.png",
price = 55000,
},
{
name = "riata",
label = "Riata",
brand = nil, -- To take name from game
image = "offroad-car1.png",
price = 65000,
},
{
name = "sandking",
label = "Sandking",
brand = nil, -- To take name from game
image = "offroad-car1.png",
price = 75000,
}
}
},
["car-category2"] = {
label = "SUV",
vehicles = {
{
name = "baller3",
label = "Baller",
brand = nil,
image = "suv-car1.png",
price = 80000,
},
{
name = "cavalcade",
label = "Cavalcade",
brand = nil,
image = "suv-car2.png",
price = 60000,
},
{
name = "contender",
label = "Contender",
brand = nil,
image = "suv-car2.png",
price = 60000,
},
{
name = "landstalker",
label = "Landstalker",
brand = nil,
image = "suv-car2.png",
price = 65000,
},
{
name = "granger",
label = "Granger",
brand = nil,
image = "suv-car2.png",
price = 55000,
},
{
name = "rebla",
label = "Rebla",
brand = nil,
image = "suv-car2.png",
price = 75000,
}
}
},
["car-category3"] = {
label = "Super Sport",
vehicles = {
{
name = "tyrus",
label = "Tyrus",
brand = "Progen",
image = "sport-car1.png",
price = 120000,
dbType = "plane"
},
{
name = "autarch",
label = "Autarch",
brand = nil,
image = "sport-car2.png",
price = 120000,
},
{
name = "entity3",
label = "Entity",
brand = nil,
image = "sport-car3.png",
price = 130000,
},
{
name = "turismor",
label = "Turismo",
brand = nil,
image = "sport-car4.png",
price = 135000,
},
{
name = "gp1",
label = "GP",
brand = nil,
image = "sport-car4.png",
price = 125000,
}
}
}
},
}
}
Config.Colors = {
["red"] = {
r = 255,
g = 71,
b = 71
},
["orange"] = {
r = 255,
g = 169,
b = 71
},
["yellow"] = {
r = 255,
g = 237,
b = 71
},
["green"] = {
r = 132,
g = 255,
b = 71
},
["tuerkis"] = {
r = 71,
g = 255,
b = 160
},
["blue"] = {
r = 71,
g = 160,
b = 255
},
["pink"] = {
r = 135,
g = 71,
b = 255
},
["white"] = {
r = 255,
g = 255,
b = 255
},
["grey"] = {
r = 77,
g = 77,
b = 77
}
}
function Config.OpenShop()
if (GetResourceState("rs_hud_v2") == "started") then
exports["rs_hud_v2"]:HideHud(true)
end
end
function Config.HideShop()
if (GetResourceState("rs_hud_v2") == "started") then
exports["rs_hud_v2"]:HideHud(false)
end
end
function Config.HelpNotify(message)
ESX.ShowHelpNotification(message)
end
function Config.Notify(source, message)
TriggerClientEvent("esx:showNotification", source, message)
end
function Config.GetVehicleFuelCapacity(vehicleModel)
return 100
end
Webhook = {}
Webhook.Settings = {
Color = 33791,
Username = "Revolution X CarShop",
AvatarUrl =
"https://cdn.discordapp.com/attachments/1239662320859353168/1239662377964666911/ezgif-7-f059e35929.gif?ex=667dbf0e&is=667c6d8e&hm=450e2daf977cf31e17471c44cee0a18a25fb5d310cc170ed07b7621619d6fefe&",
IconURL =
"https://cdn.discordapp.com/attachments/1239662320859353168/1239662377964666911/ezgif-7-f059e35929.gif?ex=667dbf0e&is=667c6d8e&hm=450e2daf977cf31e17471c44cee0a18a25fb5d310cc170ed07b7621619d6fefe&",
Url =
""
}
Locale = {
helpNotify = "Drücke ~INPUT_PICKUP~ um den Fahrzeugshop zu öffnen",
carshopTitle1 = "Carshop",
carshopTitle2 = "System",
carshopTitleDescription = "Some Information about the carshop...",
topSpeed = "Motorleistung",
acceleration = "Beschleunigung",
fuel = "Tank",
seats = "Sitzplätze",
colors = "Farben",
price = "Preis",
bar = "Bar",
card = "Karte",
currency = "€",
notEnoughMoney = "Du hast nicht genug Geld",
boughtLabel = "Du hast einen %s für %s$ gekauft",
boughtNoLabel = "Du hast ein Fahrzeug für %s$ gekauft"
}
:root {
--color-prim: #3fbdff;
--color-sec: #165b7f;
--color-header-svg: #267199;
--color-shadow-sec: rgba(63, 189, 255, 0.5);
--color-search-iBox: #297fad;
--color-bg-prim: rgba(5, 15, 20, 0.9);
--color-bg-sec: rgba(5, 15, 20, 0.85);
--color-header-bg: rgba(63, 189, 255, 0.25);
--color-inner-stats-car: rgba(63, 189, 255, 0.15);
--color-price-con-border: rgba(255, 255, 255, 0.07);
--color-price-con-bg: rgba(255, 255, 255, 0.07);
--color-price-icon: rgba(63, 189, 255, 0.25) 0%, rgba(63, 189, 255, 0);
--color-price-icon-filter: rgba(63, 189, 255, 0.65);
--color-car-content-bg: rgba(45, 135, 182, 0.25);
}
Last updated