-
Notifications
You must be signed in to change notification settings - Fork 236
Finance & Felony: Organization
Bob74 edited this page Nov 7, 2018
·
1 revision
Getting the main object to interact with the organization:
FinanceOrganization = exports['bob74_ipl']:GetFinanceOrganizationObject()
FinanceOrganization
+-- Name
| +-- Colors
| +-- black
| +-- gray
| +-- yellow
| +-- blue
| +-- orange
| +-- red
| +-- green
| +-- Fonts
| +-- font1
| +-- font2
| +-- ...
| +-- font13
| +-- Style
| +-- normal
| +-- light
| +-- name
| +-- style
| +-- color
| +-- font
| +-- Set(name, style, color, font)
+-- Office
| +-- needToLoad
| +-- loaded
| +-- target
| +-- prop
| +-- renderId
| +-- movieId
| +-- stage
| +-- Init()
| +-- Enable(state)
| +-- Clear()
Setting the name parameters.
FinanceOrganization.Name.Set(name, style, color, font)
Parameter | Description | Valid values |
---|---|---|
name | Name of the gang | any string (use \n to add a new line) |
color | Black | FinanceOrganization.Name.Colors.black |
Gray | FinanceOrganization.Name.Colors.gray |
|
Yellow | FinanceOrganization.Name.Colors.yellow |
|
Blue | FinanceOrganization.Name.Colors.blue |
|
Orange | FinanceOrganization.Name.Colors.orange |
|
Red | FinanceOrganization.Name.Colors.red |
|
Green | FinanceOrganization.Name.Colors.green |
|
style | Normal colors | FinanceOrganization.Name.Style.normal |
Lighter colors | FinanceOrganization.Name.Style.light |
|
font | Font uses to display the name | from FinanceOrganization.Name.Fonts.font1 to FinanceOrganization.Name.Fonts.font13
|
Your name is set up, now you need to display it.
FinanceOrganization.Office.Enable(state)
Parameter | Description | Valid values |
---|---|---|
state | Display the name or not |
true or false
|
Citizen.CreateThread(function()
FinanceOrganization = exports['bob74_ipl']:GetFinanceOrganizationObject()
-- Setting the name parameters
FinanceOrganization.Name.Set("Seems legit Ltd", FinanceOrganization.Name.Style.normal, FinanceOrganization.Name.Colors.black, FinanceOrganization.Name.Fonts.font6)
-- Enabling the name to be able to see it
FinanceOrganization.Office.Enable(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