-
Notifications
You must be signed in to change notification settings - Fork 236
San Andreas Mercenaries: Vinewood Car Club
Indra edited this page Apr 27, 2024
·
1 revision
Getting the main object to interact with the interior:
MercenariesClub = exports['bob74_ipl']:GetMercenariesClubObject()
This interior can be found at:
X | Y | Z |
---|---|---|
1202.407 | -3251.251 | -50.000 |
MercenariesClub
+-- interiorId
+-- Style
| +-- empty
| +-- club
| +-- Set(style, refresh)
| +-- Clear(refresh)
+-- Stairs
| +-- stairs
| +-- Enable(state, refresh)
+-- LoadDefault()
Setting the style:
MercenariesClub.Style.Set(style, refresh)
Parameter | Description | Valid values |
---|---|---|
style | Empty warehouse | MercenariesClub.Style.empty |
Car club | MercenariesClub.Style.club |
|
refresh | Refresh the whole interior |
true or false
|
Enable or disable the stairs:
MercenariesClub.Stairs.Enable(state, refresh)
Parameter | Description | Valid values |
---|---|---|
state | Enabled or disabled |
true or false
|
refresh | Refresh the whole interior |
true or false
|
LoadDefault = function()
MercenariesClub.Style.Set(MercenariesClub.Style.club, false)
MercenariesClub.Stairs.Enable(true, false)
RefreshInterior(MercenariesClub.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
MercenariesClub = exports['bob74_ipl']:GetMercenariesClubObject()
-- Set the interior to the empty warehouse
MercenariesClub.Style.Set(MercenariesClub.Style.empty, true)
-- Remove the stairs
MercenariesClub.Stairs.Enable(false, 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