Config = {}
Config.Framework = 'ESX'
Config.JobName = 'ambulance'
Config.GradeRequired = 0
Config.Hospital = {
coords = vector3(298.23, -584.76, 43.26),
blip = { sprite = 153, color = 1, scale = 1.0, label = 'Hospital' },
marker = { type = 27, size = 1.0, color = { r = 255, g = 0, b = 0, a = 100 } },
distance = 2.0,
drawDistance = 100.0,
}
Config.AmbulanceSpawn = {
coords = vector3(320.0, -570.0, 43.2),
heading = 70.0,
vehicleModel = 'ambulance',
marker = { type = 36, size = 1.0, color = { r = 0, g = 255, b = 0, a = 100 } },
distance = 2.0,
drawDistance = 100.0,
}
Config.Stretcher = {
prop = 'v_med_trolley',
attachBone = 28422,
attachOffset = vector3(0.4, 0.0, 0.0),
attachRot = vector3(0.0, 90.0, 0.0),
dropMaxDistance = 5.0,
}
Config.ProgressDuration = {
revive = 8000,
heal = 5000,
stretcher = 3000,
}
Config.Items = {
revivingItem = 'defibrillator',
healingItem = 'medikit',
consumeItem = true,
}
Config.Dispatch = {
enabled = true,
command = 'requestambulance',
alertTimeout = 30000,
acceptExpiry = 60000,
}
Config.NotifyMsg = {
['on_duty'] = 'You are now on duty.',
['off_duty'] = 'You are now off duty.',
['not_on_duty'] = 'You are not on duty!',
['not_authorized'] = 'You do not have permission to do this!',
['vehicle_spawned'] = 'Ambulance spawned.',
['vehicle_despawned'] = 'Ambulance despawned.',
['stretcher_taken'] = 'Stretcher taken.',
['stretcher_dropped'] = 'Stretcher dropped.',
['no_player'] = 'No player nearby.',
['revived'] = 'Player revived.',
['healed'] = 'Player healed.',
['cooldown'] = 'You must wait before using this again.',
['dispatch_sent'] = 'Ambulance dispatched to your location.',
['dispatch_received'] = 'New ambulance request! Check your screen.',
['dispatch_accepted'] = 'Call accepted by %s. En route.',
['call_accepted'] = 'You accepted the call. Head to the waypoint.',
['call_declined'] = 'Call declined.',
['no_online_ambulance'] = 'No ambulance staff available.',
}
Config.Strings = {
menu_title = 'Ambulance Station',
clock_in = 'Clock In',
clock_out = 'Clock Out',
request_vehicle = 'Request Ambulance',
return_vehicle = 'Return Ambulance',
take_stretcher = 'Take Stretcher',
drop_stretcher = 'Drop Stretcher',
revive_player = 'Revive Player',
heal_player = 'Heal Player',
close_menu = 'Close',
reviving = 'Reviving...',
healing = 'Healing...',
taking_stretcher = 'Taking stretcher...',
}