
π₯First Aid Zones
Adding Zones
You can define as many revive stations as you wish anywhere around the map
The
keyis the zone name and must be unique
Config.FirstAid = {
['Revive Zone Name'] = { -- the key is the name
},
}Zone Settings
You must define the coordinates for the zone to be created. These coordinates must be
vector4as it is shared with the ped spawn coordinatesYou can enable debugging of the zone and display the zone radius by setting debug to true
Define the zone radius (bare in mind the zone radius should be slightly larger than the ped target distance)
Config.FirstAid = {
['Revive Zone Name'] = { -- the key is the name
zone = { -- info settings
coords = vector4(-178.62, 6387.57, 25.72, 142.06), -- spawn coords must be vector4
debug = false, -- debug zone
radius = 3.0, -- zone radius set this slightly larger than the ped target distance
},
--other options
},
}Blip Settings
You can enable blips for this revive zone if enabled
Blip settings for id and colour can be found here: https://docs.fivem.net/docs/game-references/blips/
Target Settings
Define the ped model you wish to spawn. Base Game Models can be found here: https://docs.fivem.net/docs/game-references/ped-models/
The icon is the target icon for the ped. Target icons can be found here: https://fontawesome.com/
The label is the target label for the ped
The distance is the target distance for the ped. Bare in mind this should be slightly smaller than the zone radius
Revive Settings
You can define various settings for the revival of players
The coords must be
vector4this is where the player is sent to be revivedThe spawn coords must be
vector4this is where the player is sent when revivedThe duration is the time the ped takes to revive the player
The label is the progressCircle label
The cost is the price the player must pay to be revived (this is paid for using cash)
You can define animation settings for the ped to perform whilst reviving the player
Inventory Settings
You can define items that are available to purchase from the ped and their respective prices and stock amounts. Stock levels are handled via the database and are persistent
The name is the item name
The price is the item price
The stock is the amount of that item is in stock
Last updated