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
  • Open Boot
  • Close Boot
  • Get Inventory Data
  • Get Safe Data
  • Update Inventory Data
  • Update Safe Data
  1. Our Resources
  2. z_boot (Coming Soon!)
  3. Developer Resources

Client Exports

This page serves to outline and explain the developer exports offered by Zea Developments' z_boot resource. These exports allow you to further integrate z_boot into your server!

Open Boot

This client-side export is intended to enable external interaction for opening the vehicle's boot. It returns a boolean value of true or false, indicating the success of the operation. Please note that this export requires the vehicle's entity handle to be provided as input.

Example usage
local IsSuccess = exports['z_boot']:openBoot(vehicleHandle)

Close Boot

This client-side export is intended to enable external interaction for closing the vehicle's boot. It returns a boolean value of true or false, indicating the success of the operation. Please note that this export requires the vehicle's entity handle to be provided as input.

Example Usage
local IsSuccess = exports['z_boot']:closeBoot(vehicleHandle)

Get Inventory Data

This client-side export is designed to enable developers to access vehicle boot data for manipulation and validation. The export will return a table and an integer upon success; otherwise, it will return nil.

Example Usage
local Items, Slots  = exports['z_boot']:getInventoryData(vehiclePool)

Please be aware that the inventory tab and the safe tab are two separate data stores. You will need to complete the export outlined below in order to access the weapon safe data.


Get Safe Data

This client-side export is designed to enable developers to access vehicle safe data for manipulation and validation. The export will return a table and an integer upon success; otherwise, it will return nil.

Example Usage
local Items, Slots = exports['z_boot']:getSafeData(vehiclePool)

Update Inventory Data

This client-side export is intended to allow developers to update the vehicle inventory data store externally from the built-in interaction system. It will return a boolean value indicating whether the operation was successful or not.

Example Usage
local IsSuccess = exports['z_boot']:updateInventorySlotData(vehicleHandle, slotIndex, {
    itemName = 'example_name',
    itemQuantity = 1,
    itemImage = 'image_example'
})

Update Safe Data

This client-side export is intended to allow developers to update the vehicle safe data store externally from the built-in interaction system. It will return a boolean value indicating whether the operation was successful or not.

Example Usage
local IsSuccess = exports['z_boot']:updateSafeSlotData(vehicleHandle, slotIndex, {
    itemName = 'example_name',
    itemQuantity = 1,
    itemImage = 'image_example'
})

PreviousDeveloper ResourcesNextz_els

Last updated 1 month ago

Page cover image