-
Notifications
You must be signed in to change notification settings - Fork 236
Los Santos Drug Wars: Acid lab
Indra edited this page Apr 14, 2024
·
1 revision
Getting the main object to interact with the interior:
DrugWarsLab = exports['bob74_ipl']:GetDrugWarsLabObject()
This interior can be found at:
X | Y | Z |
---|---|---|
483.4252 | -2625.071 | -50.000 |
DrugWarsLab
+-- interiorId
+-- Details
| +-- products
| +-- supplies
| +-- equipment
| +-- Enable(details, state, refresh)
+-- LoadDefault()
Enabling or disabling details:
DrugWarsLab.Details.Enable(details, state, refresh)
Parameter | Description | Valid values |
---|---|---|
details | Products | DrugWarsLab.Details.products |
Supplies | DrugWarsLab.Details.supplies |
|
The upgraded equipment | DrugWarsLab.Details.equipment |
|
refresh | Enabled or disabled |
true or false
|
refresh | Refresh the whole interior |
true or false
|
LoadDefault = function()
DrugWarsLab.Details.Enable(DrugWarsLab.Details.products, true, false)
DrugWarsLab.Details.Enable(DrugWarsLab.Details.supplies, true, false)
DrugWarsLab.Details.Enable(DrugWarsLab.Details.equipment, true, false)
RefreshInterior(DrugWarsLab.interiorId)
end
You can handle and customize the interiors in your own resources using the exported functions:
Citizen.CreateThread(function()
-- Getting the object to interact with
DrugWarsLab = exports['bob74_ipl']:GetDrugWarsLabObject()
-- Remove the products
DrugWarsLab.Details.Enable(DrugWarsLab.Details.products, false, false)
RefreshInterior(DrugWarsLab.interiorId)
end)
- Home
- GTA V
- GTA Online
- DLC: High life
- DLC: Heists
- DLC: Executives & Other Criminals
- DLC: Finance & Felony
- DLC: Bikers
- DLC: Import/Export
- DLC: Gunrunning
- DLC: Smuggler's Run
- DLC: The Doomsday Heist
- DLC: After Hours
- DLC: Los Santos Drug Wars
- DLC: San Andreas Mercenaries
- DLC: The Chop Shop
- DLC: Bottom Dollar Bounties