-
Notifications
You must be signed in to change notification settings - Fork 238
GTA V: Franklin's aunt house
Bob74 edited this page Nov 2, 2018
·
2 revisions
Getting the main object to interact with the interior:
FranklinAunt = exports['bob74_ipl']:GetFranklinAuntObject()
This interior can be found at:
X | Y | Z |
---|---|---|
-9.96562 | -1438.54 | 31.1015 |
FranklinAunt
+-- interiorId
+-- Style
| +-- empty
| +-- franklinStuff
| +-- franklinLeft
| +-- Set(style, refresh)
| +-- Clear(refresh)
+-- Details
| +-- bandana
| +-- bag
| +-- Enable(details, state, refresh)
+-- LoadDefault()
Setting the interior's style:
FranklinAunt.Style.Set(style, refresh)
Parameter | Description | Valid values |
---|---|---|
details | Empty bedroom | FranklinAunt.Style.empty |
Franklin's stuff | FranklinAunt.Style.franklinStuff |
|
After Franklin's left | FranklinAunt.Style.franklinLeft |
|
refresh | Refresh the whole interior |
true or false
|
Removing the interior's style:
FranklinAunt.Style.Clear(refresh)
Enable or disable some interior related details:
FranklinAunt.Details.Enable(details, state, refresh)
Parameter | Description | Valid values |
---|---|---|
details | Bandana on the bed | FranklinAunt.Details.bandana |
Safari mission's bag in the closet | FranklinAunt.Details.bag |
|
state | Enabled or disabled |
true or false
|
refresh | Refresh the whole interior |
true or false
|
LoadDefault = function()
FranklinAunt.Style.Set(FranklinAunt.Style.empty)
FranklinAunt.Details.Enable(FranklinAunt.Details.bandana, false)
FranklinAunt.Details.Enable(FranklinAunt.Details.bag, false)
RefreshInterior(FranklinAunt.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
FranklinAunt = exports['bob74_ipl']:GetFranklinAuntObject()
-- Franklin hasn't moved yet
FranklinAunt.Style.Set(FranklinAunt.Style.franklinStuff)
-- Bandana on the bed
FranklinAunt.Details.Enable(FranklinAunt.Details.bandana, true)
-- Safari mission bag in the closet
FranklinAunt.Details.Enable(FranklinAunt.Details.bag, true)
RefreshInterior(FranklinAunt.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