-
Notifications
You must be signed in to change notification settings - Fork 238
Bikers: Document forgery office
Bob74 edited this page Nov 2, 2018
·
1 revision
Getting the main object to interact with the interior:
BikerDocumentForgery = exports['bob74_ipl']:GetBikerDocumentForgeryObject()
This interior can be found at:
X | Y | Z |
---|---|---|
1165.0 | -3196.6 | -39.01306 |
BikerDocumentForgery
+-- interiorId
+-- Ipl
| +-- Interior
| +-- ipl
| +-- Load()
| +-- Remove()
+-- Style
| +-- basic
| +-- upgrade
| +-- Set(style, refresh)
| +-- Clear(refresh)
+-- Equipment
| +-- none
| +-- basic
| +-- upgrade
| +-- Set(eqpt, refresh)
| +-- Clear(refresh)
+-- Security
| +-- basic
| +-- upgrade
| +-- Set(security, refresh)
| +-- Clear(refresh)
+-- Details
| +-- production
| +-- furnitures
| +-- clutter
| +-- Chairs
| +-- A
| +-- B
| +-- C
| +-- D
| +-- E
| +-- F
| +-- G
| +-- Enable(details, state, refresh)
+-- LoadDefault()
Loading Ipls related files in game:
BikerDocumentForgery.Ipl.Interior.Load()
Removing Ipls from game:
BikerDocumentForgery.Ipl.Interior.Remove()
Setting the interior's style:
BikerDocumentForgery.Style.Set(style, refresh)
Parameter | Description | Valid values |
---|---|---|
style | None, basic or upgraded |
BikerDocumentForgery.Style.basic or BikerDocumentForgery.Style.upgrade
|
refresh | Refresh the whole interior |
true or false
|
Setting the office equipments:
BikerDocumentForgery.Equipment.Set(eqpt, refresh)
Parameter | Description | Valid values |
---|---|---|
eqpt | None, basic or upgraded |
BikerDocumentForgery.Equipment.none or BikerDocumentForgery.Equipment.basic or BikerDocumentForgery.Equipment.upgrade
|
refresh | Refresh the whole interior |
true or false
|
Setting the security:
BikerDocumentForgery.Security.Set(security, refresh)
Parameter | Description | Valid values |
---|---|---|
security | Basic or upgraded |
BikerDocumentForgery.Security.basic or BikerDocumentForgery.Security.upgrade
|
refresh | Refresh the whole interior |
true or false
|
Enable or disable some interior related details:
BikerDocumentForgery.Details.Enable(details, state, refresh)
Parameter | Description | Valid values |
---|---|---|
details | Papers, pencils | BikerDocumentForgery.Details.production |
Printers, shredders | BikerDocumentForgery.Details.furnitures |
|
Pizza boxes, cups | BikerDocumentForgery.Details.clutter |
|
Chair at a desk |
BikerDocumentForgery.Details.Chairs or BikerDocumentForgery.Details.Chairs.A to BikerDocumentForgery.Details.Chairs.G
|
|
state | Enabled or disabled |
true or false
|
refresh | Refresh the whole interior |
true or false
|
LoadDefault = function()
BikerDocumentForgery.Ipl.Interior.Load()
BikerDocumentForgery.Style.Set(BikerDocumentForgery.Style.basic)
BikerDocumentForgery.Security.Set(BikerDocumentForgery.Security.basic)
BikerDocumentForgery.Equipment.Set(BikerDocumentForgery.Equipment.basic)
BikerDocumentForgery.Details.Enable(BikerDocumentForgery.Details.production, false)
BikerDocumentForgery.Details.Enable(BikerDocumentForgery.Details.setup, false)
BikerDocumentForgery.Details.Enable(BikerDocumentForgery.Details.clutter, false)
BikerDocumentForgery.Details.Enable(BikerDocumentForgery.Details.Chairs, true)
RefreshInterior(BikerDocumentForgery.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
BikerDocumentForgery = exports['bob74_ipl']:GetBikerDocumentForgeryObject()
-- Loading Ipls
BikerDocumentForgery.Ipl.Interior.Load()
-- Setting the style
BikerDocumentForgery.Style.Set(BikerDocumentForgery.Style.basic)
-- Setting the equipments
BikerDocumentForgery.Style.Set(BikerDocumentForgery.Equipment.basic)
-- Setting the security
BikerDocumentForgery.Security.Set(BikerDocumentForgery.Security.basic)
-- Adding all the chairs at once
BikerDocumentForgery.Details.Enable(BikerDocumentForgery.Details.Chairs, true)
-- Enabling details
BikerDocumentForgery.Details.Enable(BikerDocumentForgery.Details.production, true)
BikerDocumentForgery.Details.Enable(BikerDocumentForgery.Details.production, true)
BikerDocumentForgery.Details.Enable(BikerDocumentForgery.Details.setup, true)
BikerDocumentForgery.Details.Enable(BikerDocumentForgery.Details.clutter, true)
-- Refreshing the interior to the see the result
RefreshInterior(BikerDocumentForgery.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