[Release][ESX] [EMS/Ambulance Job]

Yeap. I want to do it help meeeeeeeee

Who can help me. Sorry, Iā€™m not good at English[Pls! Help me]

I cannot withdraw medikit and bandage and click on the message as attached.

esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!
esx_ambulancejob: steam:11000010dcxxxxx attempted to spawn in an item!

what can i do to fix this Error running call reference function for resource esx_ambulancejob: server/main
.lua:190: attempt to call a nil value (global ā€˜GetHashKeyā€™)
stack traceback:
server/main.lua:190: in function ā€˜getPriceFromHashā€™
server/main.lua:115: in local ā€˜refā€™
citizen:/scripting/lua/scheduler.lua:317: in function <citizen:/scriptin
g/lua/scheduler.lua:308>

i getā€™s it in my consol everytime i try to buy a ambulance

Does anyone know how to make revive reward send to hospitalā€™s money?

Not working for me :S Any idea why?

Hi all im got this working A OK but i need help if ANY one can, what script is a medic standing outside hospitals i cant find it i need to move him from the door out side the Hospital so i can ad teleport

There is a problem with helping the deceased, both using F6 and revive. The deceased player will go to the hospital instead of the point of death. How can I fix it?

I have a problem, when i respawn in the hospital every item is removed exept weapons, the player keeps the weapon, also when the police take the weapon from you body when you are dead and you get a revive, you will get the weapon back. How to fix this

Easy fix just change in database structure users is_dead to IS_DEAD and tell me it fixed for me its fixed everytime players is dead and revive he lost weapons

Pls help

you sure about this? because many scripts use the same database. If one is is_dead and the other one IS_DEAD then things wil get broken

Why I canā€™t move camera around or use ESC menu when dead? Anyone know a fix for that? I already tried Enabling specific controls when player is dead and that didnā€™t gave anything.

Hi iā€™m getting the following error when trying to buy a vehicle at the hospital.

[ERROR] [MySQL] [esx_ambulancejob] An error happens on MySQL for query "[object Object]": ER_BAD_FIELD_ERROR: Unknown column 'type' in 'field list'
Error: (node:4492) UnhandledPromiseRejectionWarning: AssertionError [ERR_ASSERTION]: unexpected PromiseRejectEvent
    at process.<anonymous> (internal/process/promises.js:27:25)
    at <anonymous>
    at Query.db.query [as _callback] (mysql-async.js:4973:13)
    at Query.Sequence.end (mysql-async.js:280:24)
    at Query.ErrorPacket (mysql-async.js:2122:8)
    at Protocol._parsePacket (mysql-async.js:5941:23)
    at Parser.write (mysql-async.js:6198:12)
    at Protocol.write (mysql-async.js:5701:16)
    at Socket.<anonymous> (mysql-async.js:693:28)
    at emitOne (events.js:116:13)
Error: (node:4492) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
Error: (node:4492) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Error: (node:4492) UnhandledPromiseRejectionWarning: Error: ER_BAD_FIELD_ERROR: Unknown column 'type' in 'field list'
    at Query.Sequence._packetToError (mysql-async.js:244:14)
    at Query.ErrorPacket (mysql-async.js:2109:18)
    at Protocol._parsePacket (mysql-async.js:5941:23)
    at Parser.write (mysql-async.js:6198:12)
    at Protocol.write (mysql-async.js:5701:16)
    at Socket.<anonymous> (mysql-async.js:693:28)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    --------------------
    at Pool.query (mysql-async.js:4728:23)
    at Promise (mysql-async.js:4970:12)
    at new Promise (<anonymous>)
    at execute (mysql-async.js:4967:26)
    at Object.global.exports [as callback] (mysql-async.js:4985:5)
    at citizen:/scripting/v8/main.js:96:41
Error: (node:4492) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

I have installed everything as per GitHub. Everything starts in console fine and doesnā€™t error until i try buy the vehicle.

Vehicle shop is working fine and I can buy cars from it no problem

Use lastest ambulance job and change to IS_DEAD and i tested its working no errors nothing when i revive i lost weapon

Should be screenFadeOut() function somewhere.

Any help on thisā€¦ Iā€™m sending out distress signal but the EMS or police donā€™t get the notification? Anything Iā€™ve done wrong when installing this plugin? Iā€™ve also tried installing the newest version too.

Im having this appear in console when I log into the server.
Everything installed alright, and the script works fine on the serverā€¦ just wondering why this is happening

i need a lil bit of help here the first thing the i need help with its when i tray to revive some one i get the i dont have medikit any way to disable that and the second thing its if any know how to use a custom peds for the jobs like in the police job

I use this resource along with inventoryHUD. Is there anyway to make it so it drops the players loadout on the ground upon death?