Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = {}
- Config.DrawDistance = 25.0
- Config.MarkerColor = { r = 0, g = 71, b = 153 }
- Config.Locale = 'en'
- Config.Framework = 'esx' ---[ 'esx' / 'qbcore_old' / 'qbcore_new' / 'other' ] Choose your framework
- Config.FrameworkTriggers = { --Choose your Framework triggers (Only if needed!).
- main = 'esx:getSharedObject', --ESX = 'esx:getSharedObject' QBUS = 'QBCore:GetObject'
- load = 'esx:playerLoaded', --ESX = 'esx:playerLoaded' QBUS = 'QBCore:Client:OnPlayerLoaded'
- job = 'esx:setJob', --ESX = 'esx:setJob' QBUS = 'QBCore:Client:OnJobUpdate'
- resource_name = 'es_extended' --ESX = 'es_extended' QBCORE = 'qb-core'
- }
- Config.NotificationType = { --[ 'esx' / 'qbus' / 'mythic_old' / 'mythic_new' / 'chat' / 'other' ] Choose the notification system you use (Other available in client/Functions.lua)
- client = "qbus"
- }
- Config.MYSQLUsage = "mysql-async" --[ 'mysql-async' / 'ghamttimysql_new' / 'ghamttimysql_old' / 'oxmysql' ] Choose your MySQL version
- Config.UseJobGrades = true -- [ 'false' / 'true' ] -- if true then the vehicles will be locked to job grade (you will need to update the database add grade collum if you don't have it)
- Config.Jobs = { -- All the jobs and the logo
- ["police"] = { -- job
- imglink = "https://seeklogo.com/images/L/Liberty_City_Police-logo-5EB5D66FEC-seeklogo.com.png", -- Your image link for the logo
- buttoncolor = "black", -- Color of the main take out button
- textbuttoncolor = "white" -- Color of the tekst inside of the button
- },
- ["mechanic"] = {
- imglink = "https://i.pinimg.com/736x/10/80/eb/1080ebb77ccb373208950caab98cce7d.jpg",
- buttoncolor = "#ffcd00",
- textbuttoncolor = "#2E2E2E"
- },
- ["ambulance"] = {
- imglink = "https://i.ibb.co/WHBZYtH/1200px-Star-of-life2-svg.png",
- buttoncolor = "#DE0101",
- textbuttoncolor = "white"
- },
- ["yourjob"] = {
- imglink = "https://wwwspennarecom.cdn.triggerfish.cloud/uploads/2014/07/Your-Logo-Here-Black-2.jpg",
- buttoncolor = "#0e3b6e",
- textbuttoncolor = "white"
- },
- ["fire"] = {
- imglink = "https://upload.wikimedia.org/wikipedia/commons/thumb/2/25/Emblem_of_the_New_York_City_Fire_Department.svg/1200px-Emblem_of_the_New_York_City_Fire_Department.svg.png",
- buttoncolor = "#f44336",
- textbuttoncolor = "white"
- },
- }
- Config.Zones = { -- zones
- -- Ambulance
- {
- Job = "ambulance", -- Job of the garage
- Action = "OpenGarage", -- Action that he needs to do
- Size = { x = 1.5, y = 1.5, z = 1.0 }, -- Size of the marker
- Type = 21, -- The marker type
- Text3D = "[~b~E~w~] Open Garage", -- text for 3dtext
- Pos = {-- Example of how to do multiple markers for the same job
- --{
- -- SpawnPointpos = vector4(439.93, -1021.71, 28.25, 92.44),
- -- coords = vector3(-1176.7405, -867.0052, 14.0222)
- --},
- {
- SpawnPointpos = vector4(439.93, -1021.71, 29.25, 92.44), -- The spawn point of the car
- coords = vector3(446.2, -1026.44, 28.65), -- The Marker it self
- typevehicles = "car"
- },
- },
- },
- {
- Job = "ambulance",
- Action = "DeleteVehicle",
- Text3D = "[~b~E~w~] To put your vehicle away",
- Size = { x = 0.7, y = 0.7, z = 0.3 },
- Type = 2,
- Pos = {
- {
- coords = vector3(446.21, -1023.07, 28.57)
- }
- },
- },
- -- Politie
- {
- Job = "police",
- Action = "OpenGarage",
- Size = { x = 1.5, y = 1.5, z = 1.0 },
- Type = 21,
- Text3D = "[~b~E~w~] Open Garage",
- Pos = {
- {
- SpawnPointpos = vector4(439.93, -1021.71, 29.25, 92.44),
- coords = vector3(443.45, -1027.61, 28.72),
- typevehicles = "car"
- },
- {
- SpawnPointpos = vector4(439.93, -1021.71, 29.25, 92.44),
- coords = vector3(441.35, -1027.61, 28.72),
- typevehicles = "car"
- },
- },
- },
- {
- Job = "police",
- Action = "DeleteVehicle",
- Text3D = "[~b~E~w~] To put your vehicle away",
- Size = { x = 0.7, y = 0.7, z = 0.3 },
- Type = 2,
- Pos = {
- {
- coords = vector3(442.33, -1025.63, 28.78)
- }
- },
- },
- -- ANWB
- {
- Job = "mechanic",
- Action = "OpenGarage",
- Size = { x = 1.5, y = 1.5, z = 1.0 },
- Type = 21,
- Text3D = "[~b~E~w~] Open Garage",
- Pos = {
- {
- SpawnPointpos = vector4(439.93, -1021.71, 29.25, 92.44),
- coords = vector3(438.65, -1027.94, 28.79),
- typevehicles = "car"
- },
- },
- },
- {
- Job = "mechanic",
- Action = "DeleteVehicle",
- Text3D = "[~b~E~w~] To put your vehicle away",
- Size = { x = 0.7, y = 0.7, z = 0.3 },
- Type = 2,
- Pos = {
- {
- coords = vector3(438.68, -1024.21, 28.74)
- }
- },
- },
- -- Your custom Job
- {
- Job = "yourjob",
- Action = "OpenGarage",
- Size = { x = 1.5, y = 1.5, z = 1.0 },
- Type = 21,
- Text3D = "[~b~E~w~] Open Garage",
- Pos = {
- {
- SpawnPointpos = vector4(439.93, -1021.71, 29.25, 92.44),
- coords = vector3(434.68, -1028.14, 28.86),
- typevehicles = "car"
- },
- },
- },
- {
- Job = "yourjob",
- Action = "DeleteVehicle",
- Text3D = "[~b~E~w~] To put your vehicle away",
- Size = { x = 0.7, y = 0.7, z = 0.3 },
- Type = 2,
- Pos = {
- {
- coords = vector3(434.45, -1024.43, 28.81)
- }
- },
- },
- -- Fire department
- {
- Job = "fire",
- Action = "OpenGarage",
- Size = { x = 1.5, y = 1.5, z = 1.0 },
- Type = 21,
- Text3D = "[~b~E~w~] Open Garage",
- Pos = {
- {
- SpawnPointpos = vector4(439.93, -1021.71, 29.25, 92.44),
- coords = vector3(431.16, -1028.94, 28.92),
- typevehicles = "car"
- },
- },
- },
- {
- Job = "fire",
- Action = "DeleteVehicle",
- Text3D = "[~b~E~w~] To put your vehicle away",
- Size = { x = 0.7, y = 0.7, z = 0.3 },
- Type = 2,
- Pos = {
- {
- coords = vector3(430.58, -1025.01, 28.89)
- }
- },
- },
- }
- Config.Strings = {
- ["caronplaceofspawnpoint"] = "Vehicle spawnpoint not available (Someone is standing there!)",
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement