Resource Configuration
This page provides comprehensive information about our configuration files, assisting in the setup of the resource.
cfg.notificationSound
Set this option to 'true' to enable notification sound effects when receiving notifications, or set it to 'false' if you prefer not to have sound effects for notifications.
cfg.distanceMountTop
In this field, you can change the distance in which players are able to mount the ladder from the top, It is of utmost importance that this value is specified as a decimal.
cfg.distanceMountBottom
In this field, you can change the distance in which players are able to mount the ladder from the base, It is of utmost importance that this value is specified as a decimal.
cfg.commands
In this section, you have the capability to make adjustments to all of the resource's commands.
Name: Here you have the option to specify the command's string.
Help Text: Here you can customize the string that aids users in comprehending the commands' functionality in the game.
Arguments: Here, you have the opportunity to customize the commands for collecting and returning arguments according to your preferences.
cfg.keybinds
This feature allows you to customize the keybind for prop interaction. It is important to note that this feature only accepts whole numbers and does not support decimal values or text. You can access a comprehensive list of FiveM's keybinds and their respective numerical codes through the provided hyperlink.
cfg.translations
This section allows you to customize the script's strings based on your preferences, whether it's modifying the language or making general edits to message aspects.
cfg.vehicles
In this section, you can specify the vehicles used for collecting and returning ladders.
Within the table cfg.vehicles
, there is a separate table or block of code for each vehicle. These blocks are identified by a unique hash key, such as GetHashKey('firetruk')
, GetHashKey('firerescue')
, and so on. The beginning and end of each block are delineated by comments within the config.lua file.
New tables should always be positioned after the comment -- BLOCK END --
. This comment indicates the conclusion of the previous block.
It's crucial that the ID you insert within the brackets is both unique and non-duplicate.
Offset:
In this field, you can input the offset for the ladder interaction point. This information determines where players will be able to gain and retrieve ladders from the vehicle. The format for this option is vec3(x, y, z)
Amount:
In this field, you have the ability to specify the number of ladders that this particular vehicle can accommodate. Please ensure that this value is a whole number without any decimal places.
Distance:
In this field, it is possible to modify the distance at which players have the capability to acquire and stow ladders from the designated offset position. This numerical parameter is represented by a floating point value that ought to include a decimal point.
Last updated