This resource is compatible with ESX v1.1 / ESX 1.2 (v1 Final) / ESX Legacy (v1.3 - v1.5) / Extendedmode.
Description
A simple configurable Revive Station.
Features
- Configurable max amount of medics
- Configurable Revive Prices
- Fully configurable blips, markers & peds
- Fancy UI
- Configurable Webhook logs (revive)
- Adjustable notification event
- ESX events and prefix customizable
- Low performance consumption (0.00ms - 0.03ms)
Showcase: Click me
Buy: Click me (Secured by FiveM Escrow System)
Config Snippets:
MK = {}
MK.Language = 'en'
MK.ESXSharedObject = 'esx:getSharedObject'
MK.ESXPlayerLoaded = 'esx:playerLoaded'
MK.ESXReviveEvent = 'esx_ambulancejob:revive'
MK.ESXSetJob = 'esx:setJob'
MK.ReviveLocation = {
{
Position = { x = 307.53588, y = -1433.502, z = 29.949588, h = 133.69308 },
Blip = {
Enabled = true,
Sprite = 61,
Color = 1,
Size = 0.8
},
Marker = {
Enabled = false,
Type = 1,
Size = { x = 2.0, y = 2.0, z = 0.5 },
Color = { r = 255, g = 255, b = 255 }
},
Ped = {
Enabled = true,
Ped = 's_m_m_doctor_01'
}
}
}
MK.Revivecost = 20
MK.maxMedics = 1
MK.Medicjob = "ambulance"
MK.Notify = function(type, message)
if type == 'success' then
TriggerEvent('esx:showNotification', message)
elseif type == 'warning' then
TriggerEvent('esx:showNotification', message)
elseif type == 'error' then
TriggerEvent('esx:showNotification', message)
elseif type == 'info' then
TriggerEvent('esx:showNotification', message)
end
end
MK = MK or {}
MK.Logging = {}
MK.Server = {}
-- ======= DON'T CHANGE ANYTHING ABOVE THIS LINE ======= --
MK.Logging.ReviveLogs = {
Enabled = true,
Webhook = ''
}
MK.Server.Notify = function(playerId, type, message)
if type == 'success' then
TriggerClientEvent('esx:showNotification', playerId, message)
elseif type == 'warning' then
TriggerClientEvent('esx:showNotification', playerId, message)
elseif type == 'error' then
TriggerClientEvent('esx:showNotification', playerId, message)
elseif type == 'info' then
TriggerClientEvent('esx:showNotification', playerId, message)
end
end
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | LUA: ~450 UI: ~150 |
| Support | Yes |
