This time it's QBCore-only, but I want to talk about an ambulance job script I'm currently building.
For my new server, I want to use as many of my own custom scripts as possible. And out of all of them, the ambulance job is by far the most work.
The basic flow sounds simple:
An EMS player diagnoses a downed player → transports them to the hospital → treats and operates on them → revives them.
Simple on paper. But three parts of this flow turned out to be deceptively complex:
The UI
The transport
The revival
The UI — Going Fully Custom
I built a completely original NUI for this. It handles X-ray imaging, injury locations, injury types, symptom categories, treatment options, and the items required for each treatment.
For the X-ray images themselves, I had ChatGPT generate them.…