Config File
Config = {}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Framework Settings ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Framework = "newesx" -- "oldesx", "newesx"
Config.AccessPoint = "DrawText" -- Interaction type: "DrawText" | "TextUi" | "ox_target"
Config.Notif = "OX" -- Notification system: "ESX" | "OX" | "custom" (client_custom.lua, server_custom.lua)
-- ╔═════════════════════════════════════════════════════════════════════╗
-- ║ Main Settings ║
-- ╚═════════════════════════════════════════════════════════════════════╝
Config.Webhook = "https://discord.com/api/webhooks/..." -- put you webhook discord
Config.Job = "ambulance" -- name of your job
Config.GoMoney = false -- if you set to true the money go to ambulance job
Config.Progressbar = 10000 -- time progress bar
Config.ScreenFade = 1000 -- time screen black
-- ╔═════════════════════════════════════════════════════════════════════╗
-- ║ NPC Settings ║
-- ╚═════════════════════════════════════════════════════════════════════╝
Config.Positions = {
{
Ped = "s_m_m_doctor_01",
Coords = vector4(296.5526, -591.2567, 43.27486, 73.79852),
Text = "Getting treatment",
Price = 1000,
Duration = 15000, -- duration treatment
PaymentType = "money", -- payments method
EmployeesOnline = 0, -- maximum number of employees not to be able to use the NPC
ProgressType = "Progress2", -- "Progress" or "Progress2" or "custom"
Blip = {
Use = true,
Sprite = 51,
Color = 3,
Scale = 0.4,
Name = "Legal Doctor",
},
DisableHospitalBeds = false, -- deactivating treatment on a hospital bed
RespawnNoBedLocation = { coords = vec3(316.66, -581.3, 43.28), heading = 339.02 }, -- coordinates of where the player will go if DisableHospitalBeds is set to true or if beds are full.
HospitalBeds = {
{ coords = vec3(317.67, -585.37, 42.84 + 0.3), heading = 160.0 },
{ coords = vec3(319.41, -581.04, 42.84 + 0.3), heading = 340.0 },
{ coords = vec3(314.47, -584.2, 42.84 + 0.3), heading = 160.0 },
{ coords = vec3(313.93, -579.04, 42.84 + 0.3), heading = 340.0 },
{ coords = vec3(311.06, -582.96, 42.84 + 0.3), heading = 160.0 },
{ coords = vec3(307.72, -581.75, 42.84 + 0.3), heading = 160.0 },
{ coords = vec3(309.35, -577.38, 42.84 + 0.3), heading = 340.0 },
{ coords = vec3(361.36, -581.3, 42.83 + 0.3), heading = 250.0 },
{ coords = vec3(359.54, -586.23, 42.84 + 0.3), heading = 250.0 },
{ coords = vec3(354.44, -600.19, 42.85 + 0.3), heading = 250.0 },
{ coords = vec3(324.26, -582.8, 42.84 + 0.3), heading = 340.0 },
}
}
-- Add other positions here if you want :)
}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Text Settings ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Text = {
InsufficientMoney = "You don't have enough money on you",
InsufficientBankMoney = "You don't have enough money in the bank",
InsufficientBlackMoney = "You don't have enough black money",
DoctorExamination = "The doctor examines you",
YouAreReanimated = "You've been revived",
YouAreReached = "You've been treated",
PayBank = "You paid 1000$ in the bank",
PayMoney = "You paid 1000$ in the cash",
PayBlackmoney = "You paid 1000$ in the black money",
TooManyEMS = "Too many doctors in town, go and see one !",
TextProgressBar = "Treatment in progress",
}
Last updated