Skip to main content
Located in shared/config/beds.lua, this file allows you to define which props act as medical beds and chairs in your server.

Properties

  • displayName: The text displayed in the prompt when approaching the prop.
  • scenario: The scenario played by the ped when interacting with the prop.
  • coordOffset: The vector3 positional offset from the prop’s origin.
  • rotOffset: The rotational offset (in degrees) to ensure the ped faces the correct way.

Example Configuration

MedicalBeds = {
    [`p_medbed01x`] = {
        displayName = "Medical Bed",
        scenario = "PROP_HUMAN_SLEEP_BED_PILLOW", 
        coordOffset = vector3(0.1, 0.0, 0.85),
        rotOffset = 270.0
    },
    [`p_chairdoctor01x`] = {
        displayName = "Doctor Chair",
        scenario = "GENERIC_SEAT_CHAIR_SCENARIO", 
        coordOffset = vector3(0.0, 0.0, 0.4),
        rotOffset = 180.0
    }
}