Resource Configuration
This page showcases our configuration files in greater detail, aiding in the setup of the resource.
cfg.interactKeybind
This option enables you to modify the keybind for interacting with the fire pole. Please note that this option requires an integer value without decimal places or text. You can find a list of FiveM's keybinds and their corresponding numbers in the link provided below.
cfg.translations
This section permits you to customize the script's strings according to your preferences, whether it involves altering the language or making general edits to message aspects.
cfg.poles
Here you can designate the locations of accessible fire poles.
Inside the cfg.poles
table, you will find individual tables or blocks of code for each pole. These blocks are enclosed within curly brackets and contain location-specific information unique to each pole.
New tables should always be positioned after the comment '-- BLOCK END --'
. This comment indicates the conclusion of the previous block.
Make sure to add a comma at the end of each closing bracket to prevent any errors.
Table Contents:
Label: This option is not utilized within the script; its sole purpose is to enable you to organize your pole locations more effectively by entering a name for each location or any preferred identifier.
Coordinates.vector3: In this section, you will input the 3D world coordinates for the top of the fire pole. When referring to the top of the fire pole, it means the mounting point. the format for this option is as follows:
vec3(x, y, z)
Coordinates.groundZ: Here, you will enter the Z vector at the bottom of the fire pole.
Dismount Height: This is the height from the configured groundZ at which you will dismount from the pole.
Ground Detection: If this option is set to true, the resource will automatically calculate the time at which you should dismount from the pole. If this option is set to false, the resource will use the groundZ coordinates you have inputted minus the Dismount Height as the point to stop the player.
Last updated