๐Editable Files
This is ONE config file divided into parts!
Hospital Setup
---@param Config.Hospital string [default hospital, must be the same as in Config.Hospitals below]
--- You can also set it to false to use all or table {'gabz_hospital', 'prompts_hospital'} to use multiple hospitals
--- Supported maps: kiiya_hospital, fm_hospital, wxmaps_hospital, prompts_hospital, nteam_hospital, gabz_hospital, hane_hospital, fiv3devs_hospital, diables_hospital
Config.Hospital = 'kiiya_hospital'
---@class Config.Hospitals: table<string, Hospital>
---@class Hospital
---@field jobs table<string> [which jobs are allowed to use this hospital]
---@field blip table {enabled: boolean, sprite: number, scale?: number, color: number, name: string} [blip settings]
---@field duty table {coords: vec4 [coords of duty point], ped?: string [ped model, remove to disable ped], anim?: table {dict: string [animation dictionary], clip: string [animation clip], flag?: number [animation flag, default 1]}, prop?: table {model: string [prop model], bone: number [bone index], coords: vec3 [prop position], rot: vec3 [prop rotation]}} [duty point settings]
-- Blip Reference: https://docs.fivem.net/docs/game-references/blips/
Config.Hospitals = {
['kiiya_hospital'] = {
jobs = {'ambulance'}, -- which jobs are allowed to use this hospital
blip = {
enabled = true,
name = locale('hospital'),
sprite = 61,
scale = 0.9,
color = 25,
coords = vec3(298.20, -584.56, 42.26)
},
duty = {
enabled = true,
coords = vec4(317.65, -582.11, 43.06, 0.0),
-- ped = 's_m_m_paramedic_01',
-- anim = {dict = 'missfam4', clip = 'base', flag = 1},
-- prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)}
},
wardrobe = vec3(318.69, -600.69, 43.31),
management = {
coords = vec3(312.07, -562.62, 43.06), -- coords of boss menu [script will open your boss menu!]
allowedGrades = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10} -- which job grades are allowed to use management menu
},
},
-- Get discount on FM's ALL Maps with Creator Code "pscripts" :)
['fm_hospital'] = {
jobs = {'ambulance'}, -- which jobs are allowed to use this hospital
blip = {
enabled = true,
name = locale('hospital'),
sprite = 61,
scale = 0.9,
color = 25,
coords = vec3(71.27, -405.99, 38.28),
},
duty = {
enabled = true,
coords = vec4(88.88, -415.26, 39.36, 0.0),
-- ped = 's_m_m_paramedic_01',
-- anim = {dict = 'missfam4', clip = 'base', flag = 1},
-- prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)}
},
wardrobe = vec3(57.21, -385.51, 39.53),
management = {
coords = vec3(90.08, -412.24, 39.45), -- coords of boss menu [script will open your boss menu!]
allowedGrades = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10} -- which job grades are allowed to use management menu
},
},
['wxmaps_hospital'] = {
jobs = {'ambulance'}, -- which jobs are allowed to use this hospital
blip = {
enabled = true,
name = locale('hospital'),
sprite = 61,
scale = 0.9,
color = 25,
coords = vec3(-316.13, -603.79, 31.85),
},
duty = {
enabled = true,
coords = vec4(-324.22, -586.46, 32.68, 0.0),
-- ped = 's_m_m_paramedic_01',
-- anim = {dict = 'missfam4', clip = 'base', flag = 1},
-- prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)}
},
wardrobe = vec3(-344.65, -588.72, 32.96),
management = {
coords = vec3(-327.90, -576.27, 32.61), -- coords of boss menu [script will open your boss menu!]
allowedGrades = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10} -- which job grades are allowed to use management menu
},
},
-- Get discount on Prompt's ALL Maps with Creator Code "piotreq" :)
['prompts_hospital'] = {
jobs = {'ambulance'}, -- which jobs are allowed to use this hospital
blip = {
enabled = true,
name = locale('hospital'),
sprite = 61,
scale = 0.9,
color = 25,
coords = vec3(1752.0015, 3624.0273, 34.9851),
},
duty = {
enabled = true,
coords = vec4(1746.26, 3634.62, 34.91, 0.0),
-- ped = 's_m_m_paramedic_01',
-- anim = {dict = 'missfam4', clip = 'base', flag = 1},
-- prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)}
},
wardrobe = vec3(1753.45, 3638.22, 35.36),
management = {
coords = vec3(1721.34, 3639.49, 35.06), -- coords of boss menu [script will open your boss menu!]
allowedGrades = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10} -- which job grades are allowed to use management menu
},
},
['nteam_hospital'] = {
jobs = {'ambulance'}, -- which jobs are allowed to use this hospital
blip = {
enabled = true,
name = locale('hospital'),
sprite = 61,
scale = 0.9,
color = 25,
coords = vec3(-497.8876, -1002.7608, 22.9947),
},
duty = {
enabled = true,
coords = vec4(-478.75, -994.69, 34.25, 0.0),
-- ped = 's_m_m_paramedic_01',
-- anim = {dict = 'missfam4', clip = 'base', flag = 1},
-- prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)}
},
wardrobe = vec3(-461.06, -1005.67, 23.76),
management = {
coords = vec3(-482.60, -994.68, 34.21), -- coords of boss menu [script will open your boss menu!]
allowedGrades = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10} -- which job grades are allowed to use management menu
},
},
['gabz_hospital'] = {
jobs = {'ambulance'}, -- which jobs are allowed to use this hospital
blip = {
enabled = true,
name = locale('hospital'),
sprite = 61,
scale = 0.9,
color = 25,
coords = vec3(297.9502, -584.3785, 43.2609)
},
duty = {
enabled = true,
coords = vec4(310.19, -593.06, 43.09, 0.0),
-- ped = 's_m_m_paramedic_01',
-- anim = {dict = 'missfam4', clip = 'base', flag = 1},
-- prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)}
},
wardrobe = vec3(302.47, -598.98, 43.50),
management = {
coords = vec3(339.65, -590.56, 43.09), -- coords of boss menu [script will open your boss menu!]
allowedGrades = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10} -- which job grades are allowed to use management menu
},
},
['hane_hospital'] = {
jobs = {'ambulance'}, -- which jobs are allowed to use this hospital
blip = {
enabled = true,
name = locale('hospital'),
sprite = 61,
scale = 0.9,
color = 25,
coords = vec3(295.78, -583.25, 42.10),
},
duty = {
enabled = true,
coords = vec4(307.85, -588.01, 43.34, 0.0),
-- ped = 's_m_m_paramedic_01',
-- anim = {dict = 'missfam4', clip = 'base', flag = 1},
-- prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)}
},
wardrobe = vec3(324.39, -565.20, 43.78),
management = {
coords = vec3(315.49, -604.74, 43.20), -- coords of boss menu [script will open your boss menu!]
allowedGrades = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10} -- which job grades are allowed to use management menu
},
},
['fiv3devs_hospital'] = {
jobs = {'ambulance'}, -- which jobs are allowed to use this hospital
blip = {
enabled = true,
name = locale('hospital'),
sprite = 61,
scale = 0.9,
color = 25,
coords = vec3(297.97, -573.72, 42.19),
},
duty = {
enabled = true,
coords = vec4(320.23, -599.91, 43.40, 247.00),
ped = 's_m_m_paramedic_01',
anim = {dict = 'missfam4', clip = 'base', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)}
},
wardrobe = vec3(321.54, -602.55, 43.52),
management = {
coords = vec3(308.39, -563.09, 43.50), -- coords of boss menu [script will open your boss menu!]
allowedGrades = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10} -- which job grades are allowed to use management menu
},
},
['diables_hospital'] = {
jobs = {'ambulance'}, -- which jobs are allowed to use this hospital
blip = {
enabled = true,
name = locale('hospital'),
sprite = 61,
scale = 0.9,
color = 25,
coords = vec3(306.08, -585.09, 43.27),
},
duty = {
enabled = true,
coords = vec4(300.41, -597.82, 43.27, 341.3),
ped = 's_m_m_paramedic_01',
anim = {dict = 'missfam4', clip = 'base', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)}
},
wardrobe = vec3(312.05, -589.55, 38.7),
management = {
coords = vec3(310.83, -569.48, 43.2), -- coords of boss menu [script will open your boss menu!]
allowedGrades = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10} -- which job grades are allowed to use management menu
},
},
}Alerts and Terminal TV Setup
---@class Config.Alerts
---@field enabled boolean [enable alerts feature?]
---@field jobs table<string> [which jobs are allowed to see alerts]
---@field menuKey string | false [key to open alerts menu, false = none key]
---@field menuCommand string | false [command to open alerts menu, false = none command]
Config.Alerts = {
enabled = true,
jobs = {'ambulance'},
menuKey = 'F5',
menuCommand = 'emsDispatch',
-- menuItem = ''
}
---@class Config.TV
---@field enabled boolean [enable tv feature?]
---@field points table<string, table<string, TVPoint>> [list of tv points, string is unique name of hospital!]
---@class TVPoint
---@field coords vec3 [coords of tv, they should be at least 20.0 units away from other tv points in same hospital to avoid texture issues]
---@field rot vec3 [rotation of tv]
Config.TV = {
enabled = true,
points = {
-- must be name of hospital from Config.Hospitals!!
['kiiya_hospital'] = {
['Entrance TV'] = {
coords = vec3(301.283, -582.483, 44.518),
rot = vec3(8.231, 0.000, 47.436),
},
},
['fm_hospital'] = {
['Entrance TV'] = {
coords = vec3(83.51, -408.42, 40.29),
rot = vec3(9.00, 0.00, 17.00),
},
},
['wxmaps_hospital'] = {
['Entrance TV'] = {
coords = vec3(-317.10, -594.68, 33.86),
rot = vec3(1.00, -0.00, -125.00),
},
},
['prompts_hospital'] = {
['Entrance TV'] = {
coords = vec3(1750.44, 3631.35, 36.13),
rot = vec3(11.00, 0.00, -100.00),
},
},
['nteam_hospital'] = {
['Entrance TV'] = {
coords = vec3(-489.15, -1005.83, 24.59),
rot = vec3(-1.00, -0.00, 110.00),
},
},
['gabz_hospital'] = {
['Entrance TV'] = {
coords = vec3(301.283, -582.483, 44.318),
rot = vec3(8.231, 0.000, 47.436),
},
},
}
}Check-In and Insurance Setup
---@class Config.CheckIn
---@field enabled boolean [enable check-in feature?]
---@field moneyIntoSociety boolean [should money from check-in go into society account?]
---@field points table<string, CheckInPoint> [list of check-in points, string is unique name!]
---@field beds table<string, vec4[]> [list of beds for each check-in point, string must be the same as in points!]
---@class CheckInPoint
---@field label string [display name of check-in point]
---@field coords vec4 [coords of point]
---@field ped string [ped model at point]
---@field duration number [time in ms for check-in progress]
---@field maxDutyMedics number | false [maximum medics on duty to enable check-in, false = can always use]
---@field price table<string, number> | false [price for check-in in different accounts, false = no payment]
Config.CheckIn = {
enabled = true,
moneyIntoSociety = true, -- should money from check-in go into society account?
camera = {
enabled = true, -- enable script camera when checking in?
offset = vec3(-1.5, 1.25, -0.65), -- offset from player coords [left/right, forward/back, up/down]
},
points = {
-- this kiiya_hospital must be UNIQUE! and the same as in beds below [that means these beds are for that check-in point]
['kiiya_hospital'] = {
label = 'Pillbox Hospital',
coords = vec4(311.22, -582.14, 43.27, 74.00),
ped = 's_m_m_doctor_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
duration = 5000,
maxDutyMedics = 2,
price = {
money = 500, -- price in cash
bank = 500, -- price in bank
black_money = 500, -- price in black money [if you want to disable some payment method, just remove it from table]
insurance = true, -- can be used insurance for check-in? [only will work if player own insurance]
}
},
['fm_hospital'] = {
label = 'Alta Hospital',
coords = vec4(87.6377, -413.0038, 39.3781, 72.6047),
ped = 's_m_m_doctor_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
duration = 5000,
maxDutyMedics = 2,
price = {
money = 500, -- price in cash
bank = 500, -- price in bank
black_money = 500, -- price in black money [if you want to disable some payment method, just remove it from table]
insurance = true, -- can be used insurance for check-in? [only will work if player own insurance]
}
},
['wxmaps_hospital'] = {
label = 'San Andreas Hospital',
coords = vec4(-327.9289, -590.4722, 32.7755, 244.6265),
ped = 's_m_m_doctor_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
duration = 5000,
maxDutyMedics = 2,
price = {
money = 500, -- price in cash
bank = 500, -- price in bank
black_money = 500, -- price in black money [if you want to disable some payment method, just remove it from table]
insurance = true, -- can be used insurance for check-in? [only will work if player own insurance]
}
},
['prompts_hospital'] = {
label = 'Sandy Shores Hospital',
coords = vec4(1747.4933, 3634.1384, 35.1408, 206.2178),
ped = 's_m_m_doctor_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
duration = 5000,
maxDutyMedics = 2,
price = {
money = 500, -- price in cash
bank = 500, -- price in bank
black_money = 500, -- price in black money [if you want to disable some payment method, just remove it from table]
insurance = true, -- can be used insurance for check-in? [only will work if player own insurance]
}
},
['nteam_hospital'] = {
label = 'Little Seul Hospital',
coords = vec4(-469.1707, -999.3661, 23.6923, 93.5120),
ped = 's_m_m_doctor_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
duration = 5000,
maxDutyMedics = 2,
price = {
money = 500, -- price in cash
bank = 500, -- price in bank
black_money = 500, -- price in black money [if you want to disable some payment method, just remove it from table]
insurance = true, -- can be used insurance for check-in? [only will work if player own insurance]
}
},
['gabz_hospital'] = {
label = 'Pillbox Hospital',
coords = vec4(307.0528, -595.0332, 43.2841, 67.0701),
ped = 's_m_m_doctor_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
duration = 5000,
maxDutyMedics = 2,
price = {
money = 500, -- price in cash
bank = 500, -- price in bank
black_money = 500, -- price in black money [if you want to disable some payment method, just remove it from table]
insurance = true, -- can be used insurance for check-in? [only will work if player own insurance]
}
},
},
beds = {
-- this kiiya_hospital must be the same as in check-in point above [that means these beds are for that check-in point]
-- use "/setup ped" from our p_bridge to setup beds easily :)
['kiiya_hospital'] = {
vec4(338.35, -595.38, 42.94, 344.00),
vec4(341.93, -596.69, 42.94, 346.00),
vec4(335.01, -594.16, 42.94, 0.00),
vec4(331.22, -592.89, 42.94, 0.00),
vec4(332.52, -589.49, 42.94, 256.00),
vec4(343.16, -593.55, 42.95, 81.00),
vec4(344.28, -590.33, 42.94, 77.00),
},
['fm_hospital'] = {
vec4(108.43, -385.38, 43.81, 67.00),
vec4(106.25, -391.57, 43.81, 80.00),
vec4(95.38, -393.86, 43.81, 347.00),
vec4(89.21, -391.64, 43.81, 348.00),
},
['wxmaps_hospital'] = {
vec4(-347.96, -604.04, 37.19, 217.00),
vec4(-347.01, -607.95, 37.19, 314.00),
vec4(-344.81, -611.29, 37.19, 314.00),
vec4(-341.28, -612.91, 37.19, 34.00),
},
['prompts_hospital'] = {
vec4(1763.54, 3655.84, 34.82, 30.00),
vec4(1756.82, 3651.95, 34.82, 35.00),
vec4(1753.47, 3650.00, 34.82, 40.00),
},
['nteam_hospital'] = {
vec4(-452.77, -1022.07, 29.87, 100.00),
vec4(-452.74, -1017.39, 29.87, 100.00),
vec4(-460.18, -1016.77, 29.87, 293.00),
vec4(-460.14, -1021.40, 29.87, 276.00),
vec4(-460.28, -1027.73, 29.87, 280.00),
vec4(-460.21, -1032.40, 29.87, 282.00),
vec4(-452.69, -1031.91, 29.87, 97.00),
},
['gabz_hospital'] = {
vec4(322.69, -587.27, 44.20, 341.00),
vec4(324.19, -582.87, 44.20, 174.00),
vec4(317.81, -585.33, 44.20, 354.00),
vec4(319.35, -581.05, 44.20, 166.00),
vec4(314.51, -584.30, 44.20, 0.00),
vec4(313.85, -579.02, 44.20, 172.00),
vec4(311.19, -582.88, 44.20, 0.00),
vec4(309.32, -577.37, 44.20, 165.00),
vec4(307.81, -581.64, 44.20, 0.00),
}
}
}
---@class Config.Insurance
---@field enabled boolean [enable insurance feature?]
---@field moneyIntoSociety boolean [should money from insurance go into society account?]
Config.Insurance = {
enabled = true,
moneyIntoSociety = true,
points = {
['kiiya_hospital'] = {
coords = vec4(314.5467, -586.1916, 43.2710, 161.7225),
ped = 's_m_m_doctor_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
},
['fm_hospital'] = {
coords = vec4(70.5336, -377.0609, 39.3782, 211.5145),
ped = 's_m_m_doctor_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
},
['wxmaps_hospital'] = {
coords = vec4(-323.1106, -586.9794, 32.7755, 191.7357),
ped = 's_m_m_doctor_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
},
['prompts_hospital'] = {
coords = vec4(1744.7739, 3634.6533, 35.1408, 123.3434),
ped = 's_m_m_doctor_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
},
['nteam_hospital'] = {
coords = vec4(-469.2556, -1001.8315, 23.6920, 91.1998),
ped = 's_m_m_doctor_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
},
['gabz_hospital'] = {
coords = vec4(312.4630, -592.8284, 43.2841, 344.9943),
ped = 's_m_m_doctor_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
}
},
options = {
-- list of insurance policies
-- each policy must have unique name!
['basic'] = {
label = 'Basic Insurance',
price = 1000, -- price to buy this insurance
duration = 7 * 24 * 60 * 60, -- duration of insurance in seconds [7 days]
},
['premium'] = {
label = 'Premium Insurance',
price = 4000,
duration = 30 * 24 * 60 * 60, -- 30 days
}
}
}Shops Setup
---@class Config.Shops: table<string, Shop>
---@class Shop
---@field blip? table {sprite: number, scale?: number, color: number, name: string} [blip settings]
---@field coords vec4 [coords of shop]
---@field ped string [ped model at shop]
---@field anim table {dict: string [animation dictionary], clip: string [animation clip], flag?: number [animation flag, default 1]}
---@field prop table {model: string [prop model], bone: number [bone index], coords: vec3 [prop position], rot: vec3 [prop rotation]}
---@field items table<{item: string, price: number}> [list of items in shop]
Config.Shops = {
-- must be name of hospital from Config.Hospitals!!
['kiiya_hospital'] = {
label = 'Hospital Cabinet',
blip = {name = locale('cabinet'), sprite = 59, scale = 0.85, color = 25},
coords = vec4(316.85, -597.72, 43.26, 254.00),
ped = 's_m_m_paramedic_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
jobRestricted = true, -- only for jobs from Config.Hospitals?
items = {
{name = 'medicbag', price = 0},
{name = 'ambulance_gps', price = 0},
{name = 'wheelchair', price = 0},
{name = 'crutch', price = 0},
{name = 'stretcher', price = 0},
{name = 'bodybag', price = 0},
{name = 'bandage', price = 0},
{name = 'icepack', price = 0},
{name = 'ointment', price = 0},
{name = 'defibrilator', price = 0},
{name = 'splint', price = 0},
{name = 'suture_kit', price = 0},
{name = 'morphine', price = 0},
{name = 'medical_kit', price = 0},
{name = 'disinfectant', price = 0},
{name = 'advanced_medical_kit', price = 0},
{name = 'blood_bag_250', price = 0},
{name = 'blood_bag_500', price = 0},
{name = 'antipyretics', price = 0},
{name = 'painkillers', price = 0},
{name = 'gauze', price = 5},
{name = 'adrenaline', price = 10},
{name = 'cyclonamine', price = 15},
{name = 'tourniquet', price = 20},
}
},
['kiiya_hospital_pharmacy'] = {
label = 'Hospital Pharmacy',
blip = {name = locale('pharmacy'), sprite = 403, scale = 0.85, color = 69},
coords = vec4(298.30, -598.00, 43.26, 337.00),
ped = 's_m_m_paramedic_01',
items = {
{name = 'gauze', price = 50},
{name = 'adrenaline', price = 100},
{name = 'bandage', price = 200},
{name = 'cyclonamine', price = 300},
{name = 'tourniquet', price = 500},
}
},
['fm_hospital'] = {
label = 'Hospital Cabinet',
blip = {name = locale('cabinet'), sprite = 59, scale = 0.85, color = 25},
coords = vec4(113.0803, -378.3839, 39.3782, 237.9791),
ped = 's_m_m_paramedic_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
jobRestricted = true, -- only for jobs from Config.Hospitals?
items = {
{name = 'medicbag', price = 0},
{name = 'ambulance_gps', price = 0},
{name = 'wheelchair', price = 0},
{name = 'crutch', price = 0},
{name = 'stretcher', price = 0},
{name = 'bodybag', price = 0},
{name = 'bandage', price = 0},
{name = 'icepack', price = 0},
{name = 'ointment', price = 0},
{name = 'defibrilator', price = 0},
{name = 'splint', price = 0},
{name = 'suture_kit', price = 0},
{name = 'morphine', price = 0},
{name = 'medical_kit', price = 0},
{name = 'disinfectant', price = 0},
{name = 'advanced_medical_kit', price = 0},
{name = 'blood_bag_250', price = 0},
{name = 'blood_bag_500', price = 0},
{name = 'antipyretics', price = 0},
{name = 'painkillers', price = 0},
{name = 'gauze', price = 5},
{name = 'adrenaline', price = 10},
{name = 'cyclonamine', price = 15},
{name = 'tourniquet', price = 20},
}
},
['wxmaps_hospital'] = {
label = 'Hospital Cabinet',
blip = {name = locale('cabinet'), sprite = 59, scale = 0.85, color = 25},
coords = vec4(-344.9016, -587.7113, 32.7745, 303.0427),
ped = 's_m_m_paramedic_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
jobRestricted = true, -- only for jobs from Config.Hospitals?
items = {
{name = 'medicbag', price = 0},
{name = 'ambulance_gps', price = 0},
{name = 'wheelchair', price = 0},
{name = 'crutch', price = 0},
{name = 'stretcher', price = 0},
{name = 'bodybag', price = 0},
{name = 'bandage', price = 0},
{name = 'icepack', price = 0},
{name = 'ointment', price = 0},
{name = 'defibrilator', price = 0},
{name = 'splint', price = 0},
{name = 'suture_kit', price = 0},
{name = 'morphine', price = 0},
{name = 'medical_kit', price = 0},
{name = 'disinfectant', price = 0},
{name = 'advanced_medical_kit', price = 0},
{name = 'blood_bag_250', price = 0},
{name = 'blood_bag_500', price = 0},
{name = 'antipyretics', price = 0},
{name = 'painkillers', price = 0},
{name = 'gauze', price = 5},
{name = 'adrenaline', price = 10},
{name = 'cyclonamine', price = 15},
{name = 'tourniquet', price = 20},
}
},
['prompts_hospital'] = {
label = 'Hospital Cabinet',
blip = {name = locale('cabinet'), sprite = 59, scale = 0.85, color = 25},
coords = vec4(1742.6763, 3652.2773, 35.1408, 210.4657),
ped = 's_m_m_paramedic_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
jobRestricted = true, -- only for jobs from Config.Hospitals?
items = {
{name = 'medicbag', price = 0},
{name = 'ambulance_gps', price = 0},
{name = 'wheelchair', price = 0},
{name = 'crutch', price = 0},
{name = 'stretcher', price = 0},
{name = 'bodybag', price = 0},
{name = 'bandage', price = 0},
{name = 'icepack', price = 0},
{name = 'ointment', price = 0},
{name = 'defibrilator', price = 0},
{name = 'splint', price = 0},
{name = 'suture_kit', price = 0},
{name = 'morphine', price = 0},
{name = 'medical_kit', price = 0},
{name = 'disinfectant', price = 0},
{name = 'advanced_medical_kit', price = 0},
{name = 'blood_bag_250', price = 0},
{name = 'blood_bag_500', price = 0},
{name = 'antipyretics', price = 0},
{name = 'painkillers', price = 0},
{name = 'gauze', price = 5},
{name = 'adrenaline', price = 10},
{name = 'cyclonamine', price = 15},
{name = 'tourniquet', price = 20},
}
},
['prompts_hospital_pharmacy'] = {
label = 'Hospital Pharmacy',
blip = {name = locale('pharmacy'), sprite = 403, scale = 0.85, color = 69},
coords = vec4(1744.8768, 3645.4358, 35.1408, 113.9539), radius = 1.5,
ped = 's_m_m_paramedic_01',
items = {
{name = 'gauze', price = 50},
{name = 'adrenaline', price = 100},
{name = 'bandage', price = 200},
{name = 'cyclonamine', price = 300},
{name = 'tourniquet', price = 500},
}
},
['nteam_hospital'] = {
label = 'Hospital Cabinet',
blip = {name = locale('cabinet'), sprite = 59, scale = 0.85, color = 25},
coords = vec4(-461.4127, -994.7538, 23.7311, 182.1652),
ped = 's_m_m_paramedic_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
jobRestricted = true, -- only for jobs from Config.Hospitals?
items = {
{name = 'medicbag', price = 0},
{name = 'ambulance_gps', price = 0},
{name = 'wheelchair', price = 0},
{name = 'crutch', price = 0},
{name = 'stretcher', price = 0},
{name = 'bodybag', price = 0},
{name = 'bandage', price = 0},
{name = 'icepack', price = 0},
{name = 'ointment', price = 0},
{name = 'defibrilator', price = 0},
{name = 'splint', price = 0},
{name = 'suture_kit', price = 0},
{name = 'morphine', price = 0},
{name = 'medical_kit', price = 0},
{name = 'disinfectant', price = 0},
{name = 'advanced_medical_kit', price = 0},
{name = 'blood_bag_250', price = 0},
{name = 'blood_bag_500', price = 0},
{name = 'antipyretics', price = 0},
{name = 'painkillers', price = 0},
{name = 'gauze', price = 5},
{name = 'adrenaline', price = 10},
{name = 'cyclonamine', price = 15},
{name = 'tourniquet', price = 20},
}
},
['nteam_hospital_pharmacy'] = {
label = 'Hospital Pharmacy',
blip = {name = locale('pharmacy'), sprite = 403, scale = 0.85, color = 69},
coords = vec4(-460.5862, -1015.3923, 23.7354, 176.1330), radius = 1.5,
ped = 's_m_m_paramedic_01',
items = {
{name = 'gauze', price = 50},
{name = 'adrenaline', price = 100},
{name = 'bandage', price = 200},
{name = 'cyclonamine', price = 300},
{name = 'tourniquet', price = 500},
}
},
['gabz_hospital'] = {
label = 'Hospital Cabinet',
blip = {name = locale('cabinet'), sprite = 59, scale = 0.85, color = 25},
coords = vec4(306.33, -601.66, 43.28, 338.00),
ped = 's_m_m_paramedic_01',
anim = {dict = 'amb@world_human_clipboard@male@idle_a', clip = 'idle_a', flag = 1},
prop = {model = 'p_amb_clipboard_01', bone = 36029, coords = vec3(0.16, 0.08, 0.1), rot = vec3(-130.0, -50.0, 0.0)},
jobRestricted = true, -- only for jobs from Config.Hospitals?
items = {
{name = 'medicbag', price = 0},
{name = 'ambulance_gps', price = 0},
{name = 'wheelchair', price = 0},
{name = 'crutch', price = 0},
{name = 'stretcher', price = 0},
{name = 'bodybag', price = 0},
{name = 'bandage', price = 0},
{name = 'icepack', price = 0},
{name = 'ointment', price = 0},
{name = 'defibrilator', price = 0},
{name = 'splint', price = 0},
{name = 'suture_kit', price = 0},
{name = 'morphine', price = 0},
{name = 'medical_kit', price = 0},
{name = 'disinfectant', price = 0},
{name = 'advanced_medical_kit', price = 0},
{name = 'blood_bag_250', price = 0},
{name = 'blood_bag_500', price = 0},
{name = 'antipyretics', price = 0},
{name = 'painkillers', price = 0},
{name = 'gauze', price = 5},
{name = 'adrenaline', price = 10},
{name = 'cyclonamine', price = 15},
{name = 'tourniquet', price = 20},
}
},
}Medic Bag Setup
---@class Config.MedicBag
---@field enabled boolean [enable medic bag feature?]
---@field prop table {model: string [prop model], coords: vector3 [prop position], rot: vector3 [prop rotation]}
---@field anims table {putdown: table {dict: string [animation dictionary], clip: string [animation clip], flag?: number [animation flag, default 1]}, pickup: table {dict: string [animation dictionary], clip: string [animation clip], flag?: number [animation flag, default 1]}} [animations for putting down and picking up medic bag]
---@field items table<string, boolean> [list of items that can be used from medic bag]
Config.MedicBag = {
enabled = true,
prop = {
model = 'xm_prop_x17_bag_med_01a',
coords = vector3(0.35, 0.0, 0.01),
rot = vector3(0.0, 270.0, -120.0)
},
anims = {
putdown = {dict = 'pickup_object', clip = 'pickup_low', flag = 1},
pickup = {dict = 'pickup_object', clip = 'pickup_low', flag = 1}
},
items = {
['bandage'] = true,
['icepack'] = true,
['defibrilator'] = true,
['ointment'] = true,
['disinfectant'] = true,
['splint'] = true,
['suture_kit'] = true,
['morphine'] = true,
['medical_kit'] = true,
['advanced_medical_kit'] = true,
['blood_bag_250'] = true,
['blood_bag_500'] = true,
['painkillers'] = true,
['gauze'] = true,
['adrenaline'] = true,
['cyclonamine'] = true,
['tourniquet'] = true,
['antipyretics'] = true,
}
}Last updated