-
Notifications
You must be signed in to change notification settings - Fork 237
Los Santos Drug Wars: Freakshop
Indra edited this page Apr 14, 2024
·
4 revisions
Getting the main object to interact with the interior:
DrugWarsFreakshop = exports['bob74_ipl']:GetDrugWarsFreakshopObject()
This interior can be found at:
X | Y | Z |
---|---|---|
570.9713 | -420.0727 | -70.000 |
DrugWarsFreakshop
+-- interiorId
+-- Ipl
| +-- Exterior
| + ipl
| + Load()
| + Remove()
+-- Door
| +-- opened
| +-- closed
| +-- Set(door, refresh)
| +-- Clear(refresh)
+-- LoadDefault()
Loading Ipls related files in game:
DrugWarsFreakshop.Ipl.Exterior.Load()
Removing Ipls from game:
DrugWarsFreakshop.Ipl.Exterior.Remove()
Setting the garage door:
DrugWarsFreakshop.Door.Set(door, refresh)
Parameter | Description | Valid values |
---|---|---|
door | Opened | DrugWarsFreakshop.Door.opened |
Closed | DrugWarsFreakshop.Door.closed |
|
refresh | Refresh the whole interior |
true or false
|
LoadDefault = function()
DrugWarsFreakshop.Ipl.Exterior.Load()
DrugWarsFreakshop.Door.Set(DrugWarsFreakshop.Door.closed, false)
RefreshInterior(DrugWarsFreakshop.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
DrugWarsFreakshop = exports['bob74_ipl']:GetDrugWarsFreakshopObject()
-- Disable the exterior
DrugWarsFreakshop.Ipl.Exterior.Remove()
-- Open the door garage inside
DrugWarsFreakshop.Door.Set(DrugWarsFreakshop.Door.opened, true)
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