The hospital addon enables players to speak to a hospital receptionist NPC to request treatment. The addon charges a configurable fee with optional job-based discounts and a voice confirmation step before charging.
HospitalConfig.enabled#| Type | Default |
|---|---|
boolean | true |
Enable or disable the hospital addon entirely.
HospitalConfig.debug#| Type | Default |
|---|---|
boolean | Config.AddonDebug |
Enable debug logging for the hospital addon. Follows the global AddonDebug setting by default.
HospitalConfig.npcModel#| Type | Default |
|---|---|
string | "s_f_y_scrubs_01" |
The ped model used for the hospital receptionist NPC.
HospitalConfig.proximity#| Field | Type | Default | Description |
|---|---|---|---|
width | number | 3.5 | Box zone width around reception desk (meters) |
length | number | 4.0 | Box zone length around reception desk (meters) |
updateInterval | number | 500 | How often to check proximity (ms) |
HospitalConfig.proximity = { width = 3.5, length = 4.0, updateInterval = 500, }
Last updated 14 days ago