Configuration
All Wasabi Scripts contain various editable and unobscured files containing, exports, client and server functions, configuration methods and more.
View Configuration
-----------------For support, scripts, and more----------------
--------------- https://discord.gg/wasabiscripts -------------
---------------------------------------------------------------
Config, Strings = {}, {}
---------------------------------------------------- LANGUAGE SETTINGS ------------------------------------------------------------
-- Options are 'en' (English), 'fr' (French), 'cn' (Chinese Simplified), 'tw' (Chinese Traditional), 'de' (German), --
-- 'it' (Italian), 'jp' (Japanese), 'ko' (Korean), 'pl' (Polish), 'pt' (Portuguese), 'es' (Spanish), 'hi' (Hindi), 'nl' (Dutch) --
-----------------------------------------------------------------------------------------------------------------------------------
Config.Language = 'en'
Config.CheckForUpdates = true -- If you want to check for updates (Recommended)
Config.AutomaticAddDatabaseTables = true -- If you want to automatically add the database tables to the database
Config.Debug = false -- If you want to enable the debug mode
Config.EnableWebhooks = true -- If you want to enable the webhooks
Config.UseOwnVipCoins = false -- If you want to use your own vip coins (You need to set it up in the customize functions)
Config.InventoryDirectory = 'qb-inventory/html/images' -- The directory of the inventory images (qb-inventory/html/images | qs-inventory/html/images | ox_inventory/web/images)
Config.UseSameImageForAllVehicles = true -- If you want to use the same image for all vehicles (vehicle.png) | false (t20.png, zentorno.png, etc.)
Config.OpenMenuType = 'command' -- You can change the way to open the menu (command | keybind | location)
Config.VipShopCommand = 'vipshop' -- The command to open the vip shop (Only if OpenMenuType is command)
Config.VipShopKeybind = 'F10' -- The keybind to open the vip shop (Only if OpenMenuType is keybind)
Config.TebexPackageIDs = { -- The package ID and the amount of vip coins to give ( YOU NEED TO SET THE TEBEX_SECRET IN THE SERVER.CFG )
[1234567] = 100,
[7654321] = 250,
[4321765] = 500,
}
Config.Commands = {
givecoins = 'givevipcoins',
removecoins = 'removevipcoins',
}
Config.GarageSettings = {
system = 'qs-advancedgarages', -- The system to use for the garage (qb-garage | esx-garage | okokGarage | qs-advancedgarages)
defaultGarages = {
car = 'Legion Square', -- The default garage to store the vehicle in ( pillboxgarage - qb-garage | SanAndreasAvenue - esx-garage | legion - okokGarage | Legion Square - qs-advancedgarages)
boat = 'La Puerta Pier', -- The default garage to store the vehicle in ( TODO - qb-garage | TODO - esx-garage | boat - okokGarage | La Puerta Pier - qs-advancedgarages)
air = 'Airport Hangar', -- The default garage to store the vehicle in ( TODO - qb-garage | TODO - esx-garage | air - okokGarage | Airport Hangar - qs-advancedgarages)
},
plateType = 'XXXX9999', -- The plate type for the vehicle, max 8 characters and use X for letters and 9 for numbers
defaultColor = {255, 255, 255} -- The default color of the vehicle (white)
}
Config.VipShopLocationSettings = {
location = vector3(-841.21, -332.88, 38.68), -- The location of the vip shop
useMarker = false, -- If you want to use a marker to open the vip shop, set to false if you want to use target
targetSettings = {
targetCoords = vector4(-842.21, -333.28, 38.68, 297.27),
pedModel = `s_m_m_movspace_01`, -- https://docs.fivem.net/docs/game-references/ped-models/
targetSystem = 'qb-target' -- 'qb-target'
},
markerSettings = {
MarkerID = 2, -- https://docs.fivem.net/docs/game-references/markers/
Color = {red = 41, green = 177, blue = 129, alpha = 222}
},
blipSettings = {
blipID = 605, -- https://docs.fivem.net/docs/game-references/blips/
blipColor = 5,
blipScale = 0.8,
blipDisplay = 4
},
}
Config.TestDriveSettings = {
carTestDriveLocation = vector4(-1332.52, -2205.1, 13.34, 151.03), -- The location of the car test drive
boatTestDriveLocation = vector4(-796.85, -1502.27, -0.09, 113.55), -- The location of the boats test drive
airTestDriveLocation = vector4(-1332.52, -2205.1, 13.34, 151.03), -- The location of the planes/helicopters test drive
testDriveTime = 10, -- The time it takes to test drive the vehicle in seconds
testDrivePlate = 'TEST', -- The plate of the vehicle (max 8 characters)
fuelSystem = 'LegacyFuel' -- 'LegacyFuel', 'ox_fuel', 'rcore_fuel' (changeable in the customize functions)
}
Config.Categories = {
{name = "all", label = "All", icon = "fa-solid fa-bars"},
{name = "items", label = "Items", icon = "fa-solid fa-box"},
{name = "weapons", label = "Weapons", icon = "fa-solid fa-gun"},
{name = "vehicles", label = "Vehicles", icon = "fa-solid fa-car"},
{name = "money", label = "Money", icon = "fa-solid fa-coins"},
}
Config.VipItems = { -- You can add more items to the vip shop, make sure the category matches the category name in the categories table
{name = "alcoholgel", label = "Alcohol Gel", price = 100, category = "items"},
{name = "lighter", label = "Lighter", price = 5, category = "items"},
{name = "beach_ball", label = "Beach Ball", price = 25, category = "items"},
{name = "coffee", label = "Coffee", price = 10, category = "items"},
{name = "gaz_mask", label = "Gaz Mask", price = 375, category = "items"},
{name = "ziptie", label = "Ziptie", price = 15, category = "items"},
{name = "umbrella", label = "Umbrella", price = 10, category = "items"},
{name = "gift", label = "Gift", price = 500, category = "items"},
{name = "armour", label = "Armour", price = 1250, category = "items"},
{name = "diving_gear", label = "Diving Gear", price = 500, category = "items"},
{name = "tape", label = "Tape", price = 5, category = "items"},
{name = "toothbrush", label = "Toothbrush", price = 10, category = "items"},
{name = "towel", label = "Towel", price = 15, category = "items"},
{name = "tunerchip", label = "Tunerchip", price = 1595, category = "items"},
{name = "medikit", label = "Medic Kit", price = 150, category = "items"},
{name = "painkiller", label = "Painkiller", price = 150, category = "items"},
{name = "repairkit", label = "Repair Kit", price = 1255, category = "items"},
{name = "nails", label = "Nail", price = 35, category = "items"},
{name = "weapon_pistol", label = "Pistol", price = 1000, category = "weapons"},
{name = "italigto", label = "Itali GTO", price = 7250, category = "vehicles", vehicletype = 'car'},
{name = "volatus", label = "Volatus", price = 12350, category = "vehicles", vehicletype = 'air'},
{name = "seashark3", label = "Seashark 3", price = 5350, category = "vehicles", vehicletype = 'boat'},
{name = "money", label = "100k Money", price = 1000, category = "money", amountToAdd = 100000}
}
Last updated