GTA V: Pillbox Hospital - Bob74/bob74_ipl GitHub Wiki
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 |
bob74_ipl
Default values set by 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)