This page provides comprehensive information about our configuration files, assisting in the setup of the resource.
cfg.z_interactions
This boolean value allows you to disable the default built-in interaction system for the script, enabling you to implement your own system.
---@field z_interactions boolean
---@description: Set as false if you do not want to use the interaction system build into z_hose
cfg.z_interactions = true
cfg.vehicles
This table contains the string values of the vehicle spawn codes you wish to configure with the resource. Once you have entered the string into this table, you will be able to create a new configuration module for the vehicle. This process is explained here.
Your configured vehicle requires a configuration module to function.
cfg.nui
This table allows for the configuration of the inventory user interface colors and logo. To edit the themes, please utilize hex codes. Hex codes can be found here.
---@field nui table
cfg.nui = {
communityLogo = 'assets/logo.png',
communityTheme = {
['background'] = '#1e1e2f', /* Background color */
['accent'] = '#007b48', /* Accent color */
['text_primary'] = '#ffffff', /* Primary text color */
['accent_hover'] = '#007b48', /* Hover color for accents */
['border'] = '#00699d' /* Neutral border for sections */
}
}
cfg.keybinds
This table facilitates the editing of the keybinds utilized by the resource. These keybinds are represented in string format and can be found in the following location: core > client > classes > keybinds.lua.
---@field keybinds table
---@description: Allow for the customization of keybinds utilized by the resource.
---@comment: https://docs.fivem.net/docs/game-references/controls/
---@comment: core > client > classes > keybinds.lua
cfg.keybinds = {
-- % Open Boot % --
['open_boot'] = 'G',
['close_boot'] = 'G',
['pickup_object'] = 'E',
}
cfg.languages
This table allows for the customization of both the language used by the resource and the associated strings. You can configure your preferred language within the fxmanifest.lua file.