Skip to content

GTA V: Pillbox Hospital

Bob74 edited this page Oct 20, 2019 · 1 revision

Getting the main object to interact with the interior:

PillboxHospital = exports['bob74_ipl']:GetPillboxHospitalObject()

Coordinates

This ipl can be found at:

X Y Z
307.1680 -590.807 43.280

Object structure

PillboxHospital
  +-- ipl
  +-- Enable(state)

Enable/Disable

Enable or disable the hospital:

PillboxHospital.Enable(state)
Parameter Description Valid values
state Enabled or disabled true or false

Default values set by bob74_ipl

PillboxHospital.Enable(true)

Example: How to use in your own resources

You can handle and customize the interiors in your own resources using the exported functions:

Citizen.CreateThread(function()
    -- Getting the object to interact with
    PillboxHospital= exports['bob74_ipl']:GetPillboxHospitalObject()

    -- Disabling the hospital
    PillboxHospital.Enable(false)
end)
Clone this wiki locally