[PAID][ESX][QBCore] Ambulance + (A replacement for esx_ambulancejob)

The reason you had to change “arg1” to “args” is because you use a version of nh-context in which the script was not made for.

You making a menu instead of using commands is a personal choice. When I made this, people requested them to be commands instead of a menu. As not everyone likes clicking through menus.

People standing when being sent to the bed has not been reported in anyone elses issues.

The rest of that stuff also seems to be personal choice, minus the vehicle thing which is fairly simple to do, and I should of provided for sure.

It’s as simple as if DoesEntityExist(emsVeh) then

print(‘You cannot take out another car’)
else

do the spawning stuff

end.

But thanks for your comment anyway, and sorry you were dissatisfied with some things.

1 Like

Yes and yes, inside the shared.lua you can disable or enable that option

Any news about the QBcore version? :slight_smile:

1 Like

Got ya so if this replaces ambulance job some of my scripts uses ambulance job revive event so that will need to be replaced with whatever revive event you offer?

1 Like

Yeah, you should just be able to change them over to this scripts revive.

@Airbourne I had two people working on converting to qbcore but nothing yet so I guess I’ll try someone else or even offer to pay someone to convert or learn qb stuff myself. Sorry.

1 Like

Hello do u think the drawtext will be released soon? To be honest players aren’t that used with qTarget/btTarget. thank you.

also still waiting and following for a drawtext version.

will this ever have the suffer state like in qb ambulance job when they are on the ground wiggling

I’m sure you could change the emotes to anything you like.

OP - Any update on a drawtext version?

Few issues unfortunately after picking up the script this morning:

  1. it’s not an esx_ambulancejob replacement in the purest sense. It sets up as gl-ambulance so even base events like esx_ambulancejob:revive will need repointing (assuming the parameters are even the same).

  2. The nh-context source code linked in the description is not the required one as it’s newer and has breaking changes. There is no sendMenu event anymore (now createMenu with a new parameter set) so the menus don’t work out-of-the-box without a change of existing code or replacing a server’s nh-context updated version with the older one provided. This needs to be significantly CLEARER in the description, especially for a 30d old script.

  3. It doesn’t use the keymaster package system, so had to go grab it from email which isn’t bad, but everyone uses the package system now and it makes things easily organized.

It is what it says it is, looks pretty good but I’ll likely need to put in far more effort to get it working on my up-to-date server than I figure I should for $20.
Personally, I’d appreciate a nh-context v2 version as a must and it’d be nice to have one that didn’t require the bt-target but that’s not a showstopper.

Thanks!

2 Likes

any draw text update?

Oh, might need to try this out soon…

1 Like

@Kallock - Drawtext version yet?

Sorry, I havn’t had a chance to sit down and code all last month, this month I’m finally back into it. The QB Version was just finished, maybe I’ll work on the drawtext soon™

Its pretty easy to setup tbh

please add config for adding more hospitals. Most servers have more than one hospital now. Also would be cool if you could you could make it to where if you die you respawn at the nearest hospital.

5 Likes

Looking forward to trying the QB version on my server! :crazy_face::heart_eyes:

1 Like

The QBCore version is already available :slight_smile:

Link?