-
Notifications
You must be signed in to change notification settings - Fork 238
Bikers: Counterfeit cash factory
Bob74 edited this page Nov 2, 2018
·
2 revisions
Getting the main object to interact with the interior:
BikerCounterfeit = exports['bob74_ipl']:GetBikerCounterfeitObject()
This interior can be found at:
X | Y | Z |
---|---|---|
1121.897 | -3195.338 | -40.4025 |
BikerCounterfeit
+-- interiorId
+-- Ipl
| +-- Interior
| +-- ipl
| +-- Load()
| +-- Remove()
+-- Printer
| +-- none
| +-- basic
| +-- upgrade
| +-- Set(printer, refresh)
| +-- Clear(refresh)
+-- Security
| +-- basic
| +-- upgrade
| +-- Set(security, refresh)
| +-- Clear(refresh)
+-- Dryer1
| +-- none
| +-- on
| +-- off
| +-- Set(dryer, refresh)
| +-- Clear(refresh)
+-- Dryer2
| +-- none
| +-- on
| +-- off
| +-- Set(dryer, refresh)
| +-- Clear(refresh)
+-- Dryer3
| +-- none
| +-- on
| +-- off
| +-- Set(dryer, refresh)
| +-- Clear(refresh)
+-- Dryer4
| +-- none
| +-- on
| +-- off
| +-- Set(dryer, refresh)
| +-- Clear(refresh)
+-- Details
| +-- Cash10
| +-- A
| +-- B
| +-- C
| +-- D
| +-- Cash20
| +-- A
| +-- B
| +-- C
| +-- D
| +-- Cash100
| +-- A
| +-- B
| +-- C
| +-- D
| +-- chairs
| +-- cutter
| +-- furnitures
| +-- Enable(details, state, refresh)
+-- LoadDefault()
Loading Ipls related files in game:
BikerCounterfeit.Ipl.Interior.Load()
Removing Ipls from game:
BikerCounterfeit.Ipl.Interior.Remove()
Setting the printers:
BikerCounterfeit.Printer.Set(printer, refresh)
Parameter | Description | Valid values |
---|---|---|
printer | No printers | BikerCounterfeit.Printer.none |
Basic printers (stopped) | BikerCounterfeit.Printer.basic |
|
Basic printers (working) | BikerCounterfeit.Printer.basicProd |
|
Upgraded printers (stopped) | BikerCounterfeit.Printer.upgrade |
|
Upgraded printers (working) | BikerCounterfeit.Printer.upgradeProd |
|
refresh | Refresh the whole interior |
true or false
|
Removing the printers:
BikerCounterfeit.Style.Clear()
Setting the security:
BikerCounterfeit.Security.Set(security, refresh)
Parameter | Description | Valid values |
---|---|---|
security | Basic | BikerCounterfeit.Security.basic |
Upgraded | BikerCounterfeit.Security.upgrade |
|
refresh | Refresh the whole interior |
true or false
|
This documentation uses Dryer1 as example. Replace Dryer1
with Dryer2
, Dryer3
or Dryer4
to set another dryer.
Setting up a dryer:
BikerCounterfeit.Dryer1.Set(dryer, refresh)
Parameter | Description | Valid values |
---|---|---|
dryer | None | BikerCounterfeit.Dryer1.none |
Working | BikerCounterfeit.Dryer1.on |
|
Stopped | BikerCounterfeit.Dryer1.off |
|
Opened | BikerCounterfeit.Dryer1.open |
|
refresh | Refresh the whole interior |
true or false
|
Enable or disable some interior related details:
BikerCounterfeit.Details.Enable(details, state, refresh)
Parameter | Description | Valid values |
---|---|---|
details | Brown chairs at the end of the room | BikerCounterfeit.Details.chairs |
Money cutting machine | BikerCounterfeit.Details.cutter |
|
Paper, counting machines | BikerCounterfeit.Details.furnitures |
|
Piles of 10$ bills behing counting machine (right) | BikerCounterfeit.Details.Cash10.A |
|
Piles of 10$ bills behing counting machine (middle) | BikerCounterfeit.Details.Cash10.B |
|
Piles of 10$ bills behind counting machine(left) | BikerCounterfeit.Details.Cash10.C |
|
10$ bills being processed on the tables | BikerCounterfeit.Details.Cash10.D |
|
Piles of 20$ bills behing counting machine (right) | BikerCounterfeit.Details.Cash20.A |
|
Piles of 20$ bills behing counting machine (middle) | BikerCounterfeit.Details.Cash20.B |
|
Piles of 20$ bills behind counting machine(left) | BikerCounterfeit.Details.Cash20.C |
|
20$ bills being processed on the tables | BikerCounterfeit.Details.Cash20.D |
|
Piles of 100$ bills behing counting machine (right) | BikerCounterfeit.Details.Cash100.A |
|
Piles of 100$ bills behing counting machine (middle) | BikerCounterfeit.Details.Cash100.B |
|
Piles of 100$ bills behind counting machine(left) | BikerCounterfeit.Details.Cash100.C |
|
100$ bills being processed on the tables | BikerCounterfeit.Details.Cash100.D |
|
state | Enabled or disabled |
true or false
|
refresh | Refresh the whole interior |
true or false
|
LoadDefault = function()
BikerCounterfeit.Ipl.Interior.Load()
BikerCounterfeit.Printer.Set(BikerCounterfeit.Printer.none)
BikerCounterfeit.Security.Set(BikerCounterfeit.Security.basic)
BikerCounterfeit.Dryer1.Set(BikerCounterfeit.Dryer1.none)
BikerCounterfeit.Dryer2.Set(BikerCounterfeit.Dryer2.none)
BikerCounterfeit.Dryer3.Set(BikerCounterfeit.Dryer3.none)
BikerCounterfeit.Dryer4.Set(BikerCounterfeit.Dryer4.none)
BikerCounterfeit.Details.Enable(BikerCounterfeit.Details.chairs, false)
BikerCounterfeit.Details.Enable(BikerCounterfeit.Details.furnitures, true)
RefreshInterior(BikerCounterfeit.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
BikerCounterfeit = exports['bob74_ipl']:GetBikerCounterfeitObject()
-- Loading Ipls
BikerCounterfeit.Ipl.Interior.Load()
-- Setting the printers
BikerCounterfeit.Printer.Set(BikerCounterfeit.Printer.basicProd)
-- Setting the security
BikerCounterfeit.Security.Set(BikerCounterfeit.Security.basic)
-- Setting the dryers
BikerCounterfeit.Dryer1.Set(BikerCounterfeit.Dryer1.on)
BikerCounterfeit.Dryer2.Set(BikerCounterfeit.Dryer2.off)
BikerCounterfeit.Dryer3.Set(BikerCounterfeit.Dryer3.open)
BikerCounterfeit.Dryer4.Set(BikerCounterfeit.Dryer4.on)
-- Enabling details
BikerCounterfeit.Details.Enable(BikerCounterfeit.Details.chairs, true)
BikerCounterfeit.Details.Enable(BikerCounterfeit.Details.furnitures, true)
-- Refreshing the interior to the see the result
RefreshInterior(BikerCounterfeit.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