-
Notifications
You must be signed in to change notification settings - Fork 238
San Andreas Mercenaries: Fort Zancudo Lab
Indra edited this page Apr 27, 2024
·
1 revision
Getting the main object to interact with the interior:
MercenariesLab = exports['bob74_ipl']:GetMercenariesLabObject()
This interior can be found at:
X | Y | Z |
---|---|---|
-1916.119 | 3749.719 | -100.000 |
MercenariesLab
+-- interiorId
+-- Details
| +-- levers
| +-- crates
| +-- weapons
| +-- lights
| +-- Enable(details, state, refresh)
+-- LoadDefault()
Setting the style:
MercenariesLab.Details.Enable(details, state, refresh)
Parameter | Description | Valid values |
---|---|---|
details | Levers | MercenariesLab.Details.levers |
Crates | MercenariesLab.Details.crates |
|
Weapons | MercenariesLab.Details.weapons |
|
Lift lights | MercenariesLab.Details.lights |
|
state | Enabled or disabled |
true or false
|
refresh | Refresh the whole interior |
true or false
|
LoadDefault = function()
MercenariesLab.Details.Enable(MercenariesLab.Details.levers, true, false)
MercenariesLab.Details.Enable(MercenariesLab.Details.crates, true, false)
MercenariesLab.Details.Enable(MercenariesLab.Details.weapons, true, false)
MercenariesLab.Details.Enable(MercenariesLab.Details.lights, true, false)
RefreshInterior(MercenariesLab.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
MercenariesLab = exports['bob74_ipl']:GetMercenariesLabObject()
-- Remove the crates
MercenariesLab.Details.Enable(MercenariesLab.Details.crates, false, false)
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