[FREE] Basic NPC Doctor

A person who contacted me via Discord told me she needed a simple npc doctor script, so I created a simple npc doctor script like the kvl-dealer script I shared recently and wanted to share it with you.

Logically, there are two separate doctors, legal and illegal.

For example, a legal doctor will treat you for $100, but an illegal doctor will treat you for $1000.

You can set prices and locations via config.

If you don’t use esx_ambulancejob or you have custom death screen you need to edit “kvl:givehealth” event.

If you have simple script ideas in mind, but you can’t realize them, you can send your ideas to me on my dm.

Download Link : GitHub - ahmetkavl/kvl-npcdoctor: Basic NPC Doctor System for FiveM

Requirements


GitHub - overextended/ox_target: Standalone "third-eye" targeting resource.

Legal Doctor



Illegal Doctor



Config

2 Likes

looks awesome! but im getting this error

2 Likes

@Vihtal add this on top of your client file and your server file:

ESX = exports[“es_extended”]:getSharedObject()

then it should be fixed.

if you useing older ESX use this:

ESX = nil

Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent(‘esx:getSharedObject’, function(obj) ESX = obj end)
Citizen.Wait(0)
end
end)

1 Like


getting this when i put that into client/server

2 Likes

There was a bug, I fixed it, download it again on github and it will be fixed.

3 Likes

Good morning,

It’s possible to revive a dead person and it’s the living players who target and revive the dead players because it’s complicated to target when you’re dead…

Thanks !

Nice work, but familiar! :grinning:

Yeah I realized after watching your video it’s really the same haha, thank you

1 Like