Code Monkey home page Code Monkey logo

qb-healing's Introduction

QB-Healing

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.

Requires

Ped Config

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,
},

QB-Ambulancejob

Add this code, under line 107 after the end
This is to set the laststand status in the database to true if you are bleeding out.

TriggerServerEvent('hospital:server:SetLaststandStatus', bool)

Issues & Suggestions

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.