Page cover

πŸ₯First Aid Zones

  • You can define as many revive stations as you wish anywhere around the map

  • The key is the zone name and must be unique

Config.FirstAid = {
    ['Revive Zone Name'] = { -- the key is the name
        
    },
}

  • You must define the coordinates for the zone to be created. These coordinates must be vector4 as it is shared with the ped spawn coordinates

  • You 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
    },
}



  • You can define various settings for the revival of players

  • The coords must be vector4 this is where the player is sent to be revived

  • The spawn coords must be vector4 this is where the player is sent when revived

  • The 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


  • 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