CS_REVIVESTATION

Allows players to revive at designated stations, even if there are no medics available. The system is fully configurable with custom NPCs, job restrictions, licenses, prices.


Installation

start cs_revivestation

Configuration

Config.lua

This configuration file controls revivestation stations, NPCs, job restrictions, deathcause fees, markers, blips, and notifications.

chevron-rightGeneral Settingshashtag
  • Locale – Language setting. Example: "EN".

  • reviveButtonBaseWidth – Width of the revive button. Example: 3.5.

chevron-rightStation Settingshashtag

Each station can be fully customized:

  • Position – vector3 coordinates of the station.

  • spawnPed – true / false – Spawn an NPC.

  • pedModel – NPC model. Example: "s_m_m_doctor_01".

  • pedPosition – vector4 coordinates & heading for the NPC.

chevron-rightSettings Tablehashtag
  • maxDeadPlayerDistance – Maximum distance to revive a player.

  • onlyForJob – Table of job restrictions with minimum rank. Example: { police = {minrank = 5} }.

  • onlyWithLicense – true / false – Restrict access to players with a license.

  • maxMedics – Maximum number of medics online before station is unavailable.

  • medicJobs – Jobs considered as medics. Example: { "ambulance", "police" }.

  • price – Base price for reviving a player. Example: 50.

  • feeForEachMedic – Additional fee per medic online. Example: 500.

  • account – Accepted accounts. Example: { "money", "bank" }.

  • deathReasonPrices – Prices per death cause. Example: { ["Fire"]=600, ["Pistol"]=150 }.

chevron-rightMarkers & Blipshashtag
  • Marker – Customize the 3D marker for each station (type, scale, color, distance).

  • blip – Customize the map blip (label, sprite, color, scale).

  • GeneralMarker / GeneralBlip – Defaults used if station-specific settings are not configured.

chevron-rightFunctions & Exportshashtag

Server Functions

Client Functions

Notifications

Notification Types

Exports

Both functions are also available as events with the same names.


Webhook Configuration

chevron-rightwebhooks.luahashtag
  • Sends a message when a player is revived, including medic name, price, and deathcause.

circle-info

Tip: Leave the URL as an empty string "" if you do not want the webhook to trigger for that event.


chevron-rightDeath Causeshashtag
  • The list of death causes defines pricing per cause:


chevron-rightNoteshashtag
  • Multiple revivestation stations are supported.

  • NPCs, markers, and blips are fully configurable.

  • Prices can vary per deathcause and per medic online.

  • Works with both old and new ESX versions.

  • UI colors can be changed in: html/assets/css/config.css.

  • Locales included: English (EN) and German (DE).


Support

If you have any further questions, open a ticket on our discord server: discord.gg/core-servicesarrow-up-right

Last updated