-
Notifications
You must be signed in to change notification settings - Fork 236
Los Santos Drug Wars: Eclipse Boulevard Garage
Indra edited this page Apr 14, 2024
·
3 revisions
Getting the main object to interact with the interior:
DrugWarsGarage = exports['bob74_ipl']:GetDrugWarsGarageObject()
This interior can be found at:
X | Y | Z |
---|---|---|
519.2477 | -2618.788 | -50.000 |
DrugWarsGarage
+-- interiorId
+-- Ipl
| +-- Exterior
| + ipl
| + Load()
| + Remove()
+-- Banner
| +-- model
| +-- position
| +-- Hide()
| +-- Restore()
+-- Numbering
| +-- none
| +-- level1
| +-- level2
| +-- level3
| +-- level4
| +-- level5
| +-- Set(num, refresh)
| +-- Clear(refresh)
+-- Style
| +-- immaculate
| +-- industrial
| +-- indulgent
| +-- Set(style, refresh)
| +-- Clear(refresh)
+-- Tint
| +-- white
| +-- gray
| +-- black
| +-- purple
| +-- orange
| +-- yellow
| +-- blue
| +-- red
| +-- green
| +-- lightBlue
| +-- lightGreen
| +-- SetColor(color, refresh)
+-- LoadDefault()
Loading Ipls related files in game:
DrugWarsGarage.Ipl.Exterior.Load()
Removing Ipls from game:
DrugWarsGarage.Ipl.Exterior.Remove()
Setting the "For lease" banner on the exterior.
DrugWarsGarage.Banner.Hide()
DrugWarsGarage.Banner.Restore()
Setting the interior level number:
DrugWarsGarage.Numbering.Set(num, refresh)
Parameter | Description | Valid values |
---|---|---|
num | Level 1 | DrugWarsGarage.Numbering.level1 |
Level 2 | DrugWarsGarage.Numbering.level2 |
|
Level 3 | DrugWarsGarage.Numbering.level3 |
|
Level 4 | DrugWarsGarage.Numbering.level4 |
|
Level 5 | DrugWarsGarage.Numbering.level5 |
|
refresh | Refresh the whole interior |
true or false
|
Setting the interior style:
DrugWarsGarage.Style.Set(style, refresh)
Parameter | Description | Valid values |
---|---|---|
style | Immaculate | DrugWarsGarage.Style.immaculate |
Industrial | DrugWarsGarage.Style.industrial |
|
Indulgent | DrugWarsGarage.Style.indulgent |
|
refresh | Refresh the whole interior |
true or false
|
Setting the interior tint:
DrugWarsGarage.Tint.SetColor(color, refresh)
Parameter | Description | Valid values |
---|---|---|
color | White | DrugWarsGarage.Tint.white |
Gray | DrugWarsGarage.Tint.gray |
|
Black | DrugWarsGarage.Tint.black |
|
Purple | DrugWarsGarage.Tint.purple |
|
Orange | DrugWarsGarage.Tint.orange |
|
Yellow | DrugWarsGarage.Tint.yellow |
|
Blue | DrugWarsGarage.Tint.blue |
|
Red | DrugWarsGarage.Tint.red |
|
Green | DrugWarsGarage.Tint.green |
|
Light blue | DrugWarsGarage.Tint.lightBlue |
|
Light green | DrugWarsGarage.Tint.lightGreen |
|
refresh | Refresh the whole interior |
true or false
|
LoadDefault = function()
DrugWarsGarage.Ipl.Exterior.Load()
DrugWarsGarage.Banner.Hide()
DrugWarsGarage.Numbering.Set(DrugWarsGarage.Numbering.level1, false)
DrugWarsGarage.Style.Set(DrugWarsGarage.Style.immaculate, false)
DrugWarsGarage.Tint.SetColor(DrugWarsGarage.Tint.white, false)
RefreshInterior(DrugWarsGarage.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
DrugWarsGarage = exports['bob74_ipl']:GetDrugWarsGarageObject()
-- Disable the exterior
DrugWarsGarage.Ipl.Exterior.Remove()
-- Set the interior style
DrugWarsGarage.Style.Set(DrugWarsGarage.Style.industrial, false)
-- Set the color
DrugWarsGarage.Tint.SetColor(DrugWarsGarage.Tint.purple, false)
RefreshInterior(DrugWarsGarage.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