Skip to main content
Located in shared/config/hospitals.lua, this file allows you to define blips, locations, and NPC Doctors for automated treatments.

Properties

  • displayName: The name of the hospital location.
  • showBlip: boolean to determine if the map blip should be visible.
  • blipSprite: The hash of the sprite used on the map.
  • coords: Center vector3 coordinates of the hospital.
  • radius: The radius dimension for the hospital zone.
  • jobId: The society/company identifier (if using syn_society or mega_companies). Put nil if not needed.

NPC Doctor Properties

Located inside the npc table:
  • enabled: boolean enabling the NPC at this location.
  • jobs: A table of job IDs. If a player with any of these jobs is currently online, the NPC Doctor will be disabled.
  • healCost: The deduction cost to heal a player.
  • reviveCost: The deduction cost to revive an unconscious player.
  • reviveTime: Treatment duration (in seconds) to revive.
  • npcModel: The string model of the NPC ped (e.g., 'CS_DrMalcolmMacIntosh').
  • coords & heading: Position and orientation of the NPC.
  • range: The interaction distance.
  • excludedDiseases: A table list of diseases this specific NPC cannot heal. (e.g. {'cold', 'malaria'})

Example Configuration