[ESX] [RELEASE] [FREE] Configurable Revive Station

Hello again!

I’ve spotted some issues regarding readability and configuration in my old version of the Revive Station and decided to modify it.

About

This script is simply a Revive Station that I’ve been updating a bit since last year.
It has the option to enable/disable itself if people with a specific job are/aren’t online.
It has the option to toggle the NPC and the Marker just with the config.

100% HP:

Under 100 HP but not dead yet:

And when the player is dead, they have to press their interact key (normally E) to revive themselves.

Dependencies

ESX
esx_ambulancejob (or any revive trigger)
esx_billing (optional)

In this version

I added locales de, at, es, en, fr, ua, ru and pl to make the configuration faster
I added a big config file in which you can toggle and change things fast and easy
I added comments

Updates

  • Added optional billing with esx_billing and okokbilling!

Okokbilling may not be working, as I couldn’t test it.
To activate esx billing, head to esx_billing >> server >> main.lua to line 41 and just comment out the check like below:


This lets our script write out a fine using society, adding the money to the ambulance job. If you find a better way, please comment it as I took over 7 hours to figure out this solution.

Download V3Download Latest V3.6 (Billing)

You may edit this code however you want but not publish it without my permission

6 Likes

thats very nice. exact what i search. much thanks

the only thing I’m missing for maybe future update is a payment.

Config:
Costs: true/false
Amount of costs: $500
Bank or cash: “bank”
Money is transferred to society account: true/false
Society: “ambulance”

or maybe even the possibility that you get an invoice from e.g. okok billing and you have to pay it afterwards

3 Likes

Thanks for the suggestion! I’m gonna work on it right away and will publish it as the main script and I’ll inform you when its done

I just finished the update.
I only could test the esx_billing one, as I dont own okokBilling.

The esx_billing works by disabling a check if the bills society that was/is being sent, is the same as from the users job.

2 Likes