This is a simple RP grandma healing script for QBCore.
Feel free to Pull Request or post suggestions, issues. I will help where I can.
Yes I known there is a healing options/part in de qb-drugs/client/deliveries.lua
I removed that part in the resource, and made this one.
Add this code to the Berkie Target config.
Config.Peds
[1] = {
model = "ig_mrs_thornhill",
coords = vector4(2436.83, 4958.85, 46.81, 10.2),
minusOne = true,
freeze = true,
invincible = true,
blockevents = true,
target = {
options = {
{
type = "client",
event = "grandma:client:healing",
icon = "fas fa-band-aid",
label = "Request Healing",
},
},
distance = 1.5,
},
currentpednumber = 0,
},
Add this code, under line
107
after theend
This is to set the laststand status in the database to true if you are bleeding out.
TriggerServerEvent('hospital:server:SetLaststandStatus', bool)
Please use the GitHub issue system to report issues or to make suggestions.
When you are making a suggestion, please keep [Suggestion]
in the title to make it clear that it is a suggestion.
You can also join the QBCore Discord!