Configuration
Check the instructions below.
Theme Settings
The Config.Theme
table includes various color properties to style the application. The colors are defined in hexadecimal and RGBA formats.
primary
'#ff4f22'
Primary theme color in hexadecimal format
primary-content
'#900000'
Content color for primary theme
primary-opacity
"rgba(255, 47, 47, 0.2)"
Primary color with opacity (RGBA format)
secondary
"#FF2F2F"
Secondary theme color in hexadecimal
secondary-content
'#900000'
Content color for secondary theme
secondary-opacity
"rgba(255, 47, 47, 0.2)"
Secondary color with opacity (RGBA)
Editable Functions
GetCrewId Function
This function retrieves the crew ID from an external resource if it is running.
GetResourceState("gfx-crew") checks if the "gfx-crew" resource is started.
exports["gfx-crew"]() retrieves crew data via an external resource's API.
Returns the crew ID if available, otherwise
nil
.You can replace nil with your crew export if you have one.
External Resource Requirement:
The function depends on the external resource gfx-crew
, and if not present, it will return nil
.
GetSquadId Function
This function is a placeholder that currently returns a static squad ID of 1
. You can write your own crew scripts' export instead of 1.
Last updated