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.notificationSound
  • cfg.distanceMountTop
  • cfg.distanceMountBottom
  • cfg.commands
  • cfg.keybinds
  • cfg.translations
  • cfg.vehicles
  • Offset:
  • Amount:
  • Distance:
  1. Our Resources
  2. z135m-Ladder

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.

Example of a block
cfg.vehicles = {
   -- BLOCK START --
   [GetHashKey('firetruk')] = {
      offset = vector3(0.0, -4.9, 0.6);
      ammount = 2;
      distance = 1.2
   }
   -- BLOCK END --
}

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:


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.

Previousz135m-LadderNextResource Usage

Last updated 2 months ago

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) You can use this to help you with the vector3

FiveM Controls
free ressource
Page cover image