v0.0.6
Summary
This release adds optional lation_ui backends for context menus and progress bars, a laboratory create flow for bosses, and per-location blip/marker enable toggles with a sprite/color picker in the hospital, pharmacy, and laboratory creators. Garage spawn tracking now uses an entity state bag with retries until the vehicle exists on the server. ESX revive fires esx:onPlayerSpawn, and vitals only recompute when another player is nearby.
Config.menu and Config.progressbar default to "auto" (lation_ui if that resource is running, otherwise ox_lib). Missing enabled flags on existing blips and markers still count as on (enabled ~= false), so this is not a fresh-install release — merge the two new config keys into config/config.lua.
What's New
Features
Config.menuandConfig.progressbar:"auto","ox_lib", or"lation_ui". Newbridge/client/ui.luaroutes duty, elevator, reception, lab, bed, OrthoScan, stretcher, defib, oxymeter, and transfusion menus plus treatment progress bars through that bridge- Laboratory creator can create a new lab (
createLaboratory), not only update or delete. Boss-only; empty or colliding ids becomelaboratory_N - Hospital, pharmacy, and laboratory creators can toggle blips and markers on or off, and pick blip sprites/colors from the catalog
- Shipped
data/hospitals.json,data/laboratories.json, anddata/shops.jsoninclude"enabled": trueon blip and marker settings
Bug Fixes
- Garage register retries when the vehicle is not yet on the server; occupancy is stored on the entity (
luxu_ambulance:garage) instead of a spawn token that could expire mid-replication - ESX revive now triggers
esx:onPlayerSpawnviaBridge.client.player.revived() - ESX login detection uses
ESX.GetPlayerData().identifierinstead ofESX.IsPlayerLoaded() - Client vitals tick skips the recompute/send when no other player is within 20 m
File Changes
⚙️ Configuration & Bridge Files
These files are not encrypted. Review the changes below — you may need to manually apply updates to your server's config files.
config/config.lua
--[[ Dependencies ]]
notify = "ox_lib", -- Check bridge/client/notify.lua for available options.
+ menu = "auto", -- "auto", "ox_lib", or "lation_ui". Check bridge/client/ui.lua for available options.
+ progressbar = "auto", -- "auto", "ox_lib", or "lation_ui". Check bridge/client/ui.lua for available options.
interaction = {
resource = "ox_target", -- "auto" or "ox_target" or "qb-target" or "sleepless_interact"fxmanifest.lua
author "luxu-gg <[email protected]>"
description "Luxu Medicine - Ambulance Job"
-version "0.0.5"
+version "0.0.6"data/laboratories.json / data/shops.json / data/hospitals.json
Blip and marker objects gained an enabled flag. Example from the shipped laboratory:
"marker_settings": {
+ "enabled": true,
"color": {
"a": 255,
"b": 118, "blip_settings": {
+ "enabled": true,
"color": 5,
"id": 499,
"scale": 0.7Pharmacy blip and marker_settings use the same flag. Existing rows without enabled still show (treated as true).
locales/en.json (also es.json, pt.json)
"laboratory_blood_exam_failed": "Blood examination failed",
+ "laboratory_only_bosses_create": "Only bosses can create laboratories.",
+ "laboratory_created": "Laboratory created successfully",
"laboratory_updated": "Laboratory updated successfully",Full list of files changed
| Change | File |
|---|---|
| Modified | bridge/client/player.lua |
| Added | bridge/client/ui.lua |
| Modified | client/cl_main.lua |
| Modified | client/cl_utils.lua |
| Modified | client/handlers/blips.lua |
| Modified | client/handlers/complaints.lua |
| Modified | client/handlers/markers.lua |
| Modified | client/handlers/nui.lua |
| Modified | client/modules/conditions/viruses.lua |
| Modified | client/modules/garage.lua |
| Modified | client/modules/laboratory/laboratory.lua |
| Modified | client/modules/minigames.lua |
| Modified | client/modules/status.lua |
| Modified | client/modules/treatment/blood_transfusion.lua |
| Modified | client/modules/treatment/defib.lua |
| Modified | client/modules/treatment/hospital_beds.lua |
| Modified | client/modules/treatment/hospital_orthoscan.lua |
| Modified | client/modules/treatment/items.lua |
| Modified | client/modules/treatment/oxymeter.lua |
| Modified | client/modules/treatment/patient_hotbar.lua |
| Modified | client/modules/treatment/stretcher.lua |
| Modified | client/modules/vitals.lua |
| Modified | config/config.lua |
| Modified | data/hospitals.json |
| Modified | data/laboratories.json |
| Modified | data/shops.json |
| Modified | fxmanifest.lua |
| Modified | locales/en.json |
| Modified | locales/es.json |
| Modified | locales/pt.json |
| Modified | server/features/laboratories.lua |
| Modified | server/modules/garage.lua |
| Modified | server/sv_status.lua |
| Modified | shared/init.lua |
| Modified | shared/types.lua |
| Modified | web/ |