Zea Development - Documentation
StoreWebsiteDiscord
  • Welcome
  • General
    • Downloading Resources
    • Transferring Resources
    • Resource Support
    • Escrow Errors
  • Our Resources
    • z_hose
      • Resource Configuration
        • Configuration Modules
      • Compatibility with ox_inventory
      • Resource Usage
      • Developer Resources
        • Client Exports
        • Server Exports
    • z_boot (Coming Soon!)
      • Resource Configuration
        • Configuration Modules
        • Item Creation
      • Developer Resources
        • Client Exports
    • z_els
      • Resource Configuration
      • Resource Usage
      • Developer Exports
      • Creating Patterns
      • Directional Types
    • z_fires
      • Resource Configuration
      • JSON Configuration
      • Resource Usage
      • Developer Exports
      • Materials List
    • z_ppvfan
      • Resource Configuration
      • Resource Usage
    • zTurnout-System
      • Resource Configuration
      • Resource Usage
      • Trigger Events
    • zWigWags
      • Resource Configuration
      • Resource Usage
      • Trigger Events
    • zFire-Alarm
      • Resource Configuration
      • Resource Usage
    • z9m-Ladder
      • Resource Configuration
      • Resource Usage
    • z105m-Ladder
      • Resource Configuration
      • Resource Usage
    • z135m-Ladder
      • Resource Configuration
      • Resource Usage
    • zCustody-Alarm
      • Resource Configuration
      • Resource Usage
    • zFire-Pole
      • Resource Configuration
      • Resource Usage
    • zTurnout-Rack
      • Resource Configuration
      • Resource Usage
    • zPager
      • Resource Configuration
      • Resource Usage
    • zTurnouts
      • Resource Configuration
      • Resource Usage
Powered by GitBook
On this page
  • cfg.interactKeybind
  • cfg.translations
  • cfg.poles
  • Table Contents:
  1. Our Resources
  2. zFire-Pole

Resource Configuration

This page showcases our configuration files in greater detail, aiding in the setup of the resource.

PreviouszFire-PoleNextResource Usage

Last updated 1 year ago


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.

Example of block
cfg.poles = {
    -- BLOCK START --
    {
        label = 'EXAMPLE',
        coordinates = { 
            vector3(-345.0839, -232.4506, 41.0754),
            groundZ = 37.1051 
        },
        dismountHeight = 1.2,
        groundDetection = true,
    },
    -- BLOCK END --
}

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.


FiveM Controls
Page cover image