Insurance & Membershipsystem - ESX/QB - gpScripts


*Credits for the thumbnails :heart:


A long awaited script and finally it’s here!
Insurance for hospitals, memberships for tuning clubs or gyms.
With this system there are no limits for you.


Features:

  • Create insurance, membership or what you need for each job

  • Modern UI

  • Extensive menu for employees

  • Set menu rights for each rank

  • Create new insurances/memberships

  • Customize existing insurances/memberships

  • Delete existing insurances/memberships

  • For each plan you can set how often the players have to pay for it. 3 days? 7 days? Everything possible as you need it!

  • List of all insured players

  • Change player insurances/memberships

  • Cancel player insurances/memberships

  • Listing of all insured companies

  • Adjust insurance membership conditions of the companies

  • Cancel insurance/membership of a company

  • Insure players and companies

  • Menu for customers

  • Players can buy insurance/membership from an NPC themselves

  • Players can change insurance with the NPC

  • Players can cancel the insurance with the NPC


How do players benefit from their memberships and insurance?
There is a simple export you can install that automatically offsets the price by the savings of its insurance or membership.

Example:

-- Price the player would actually have to pay for healing at the NPC in the hospital
local price = 1000
price = exports['gp_InsuranceSystem']:checkInsuranceCoverage(identifier, "ambulance", price)
if (price == 0) then return end
-- Player has a 10% coverage plan. So the new price would be $900 instead of 1000

You could also integrate it with your billing system like okokBilling. So when the player receives an invoice, the insurance coverage is automatically applied and the invoice amount is reduced.
(example: Installation | gpScripts Docs)


Script Trailer
Script Preview

Buy the Script

Some UI Images:

Code is accessible Yes/No
Subscription-based No
Lines (approximately) 2000+
Requirements ESX / QB-Core
Support Yes

Have a look at my other Scripts :heart:
:new: [ESX/QB] Clothingshop, Wardrobe, IngameCreator and more!
[ESX/QB] Advance Tax-System
[ESX/QB] EmergencyPhone - Leitstellensystem
[ESX/QB] Visa-/Visumsystem
[ESX/QB] Duty Blips - See which business is online!
[ESX/QB] Item Blips - Reveal Blips on Item usage!
[ESX] Business Cards
[ESX] Random Dealer
[ESX] Simcards
[ESX] noHUD Notify
[ESX] Vehicle Tracker (with Police functions)

5 Likes

I can only say that it’s a must-have for every FiveM server that wants to provide their community with the highest quality of scripts. I was a beta tester for this system, and our community loves this script. It’s very easy to configure. Big thumbs up!

1 Like

does this work with any medical system and so forth? easy exports or something i assume?

1 Like

How do you mean it works with a Medic system?

1 Like

Like esx_ambulance job, visn health system, wasabi has a health/medical thing.

How does having a membership, rather health insurance decrease the pay of a visit to a hospital or perhaps a pharmacy?

1 Like

Ah now I see how you mean it. You just need to add it to your billing system. A simple export that shortens the price by your membership. :smiley:
You can also implement it in esx_ambulancejob or any AI-Doc script. There are many exports you can use.
Hope that answers your question

2 Likes

That’s one of the best Insurance script for Roleplay.
WHEN a update is coming that other Persons can manage this job, than I will buy this script to 100%

2 Likes

Changelogs - Version 1.0.1 - 18.10.2023

:dizzy: New stuff:
➥ Added new insurance job to manage other business insurances (suggested by @WolfT3ck :heart:)

:lady_beetle: Bugfixes:
➥ Fixed: Businesses now recieving the money

Changelogs - Version 1.0.2 - 22.10.2023

:dizzy: New stuff:
➥ Added new locale for no players nearby

:lady_beetle: Bugfixes:
➥ Fixed: Error on NUI-Callback ManageBusiness

Changelogs - Version 1.0.3 - 22.10.2023

:lady_beetle: Bugfixes:
➥ Fixed integration for JakSams BillingUI

Changelogs - Version 1.0.4 - 27.10.2023

:dizzy: New stuff:
➥ The insurance job can now be deactivated in Config

:lady_beetle: Bugfixes:
➥ Money is now deducted from companies and added when it is insured
➥ Money is now deducted from companies and added when the insurance is canceled
➥ Costs for the insurance of a company are now deducted
➥ New date for charging insurance costs for a company is now updated in the database

Changelogs - Version 1.0.5 - 28.10.2023

:dizzy: New stuff:
➥ Checkbox added when insuring a company to specify that the company pays the first payment directly.

:lady_beetle: Bugfixes:
➥ UI is now properly syncronized when a company is insured or terminated

Changelogs - Version 1.0.6 and Version 1.0.7- 29.10.2023

:lady_beetle: Bugfixes:
➥ Fixed: Error on player insurance-fees deduction on QB-Core (v 1.0.6)
➥ Fixed: Error on resource start (creating Job-Settings in gp_insurance_settings database table) on QB-Core (v 1.0.6)
➥ Fixed: Export GetPrivateInsuranceCoverage is now working (v 1.0.7)

Changelogs - Version 1.0.8 - 02.11.2023

:lady_beetle: Bugfixes:
➥ Fixed: Playername in NPC Menu should now be displayed
➥ Fixed: No plans were displayed after a plan was edited

Changelog - Insurance & Membershipsystem

v1.1.6

:dizzy: New stuff:
➥ Added client-export to open employee menu

Changelog - Insurance & Membershipsystem

v1.1.7

:lady_beetle: Bugfixes:
➥ Fixed error [ERROR] Job insurance doesn’t exist! Job will not work! even if Config.InsuranceJob.UseInsuranceJob set to false