T1GER Scripts Documentation
Tebex StoreDiscordYouTubeCFX Forum
  • T1GER Scripts Documentation
  • Quick Links
    • t1ger.net | Shop Now
    • Join Discord
  • Information
    • FiveM Asset Escrow
  • Resources
    • T1GER Mechanic
      • Installation
        • Job Account
          • Setup
          • API
      • Configuration
        • Shop
      • API
        • Exports
        • Events
      • Troubleshoot
    • T1GER Library
      • Installation
        • Inventory
        • Target
        • Garage
        • Society Account
        • Vehicle Properties
      • Configuration
    • T1GER Gang System
      • Installation
      • Gang Garages
      • Product Information
    • T1GER Tuning System
      • Installation
      • API
        • Client
        • Server
      • Troubleshoot
        • Common Issues
        • Error Codes
      • Guides
        • Commands
        • Shops
        • Markers
        • Mod Stations
        • Pricing
        • Mod Orders
        • Vehicle Mods
        • Engine Swaps
        • Nitrous
    • T1GER ATM Robbery
      • Installation
      • API
        • Client
        • Server
      • Troubleshoot
        • Common Issues
        • Error Codes
      • Guides
        • Hacking Minigame
        • Dispatch
    • T1GER Dealerships
  • Free Resources
    • T1GER Keys
    • T1GER Garage
    • T1GER Bank Robbery
    • T1GER Tow Trucker
Powered by GitBook
On this page
  • Exports
  • Get Account Money
  • Add Account Money
  • Remove Account Money
  • Set Account Money
  • Events
  1. Resources
  2. T1GER Tuning System
  3. API

Server

In this section you can find server-sided exports and events to be used/integrated with other resources.

Exports

Get Account Money

Gets the account balance/money from a given shop.

exports['t1ger_tuningsystem']:GetAccountMoney(shopId)
-- shopId(INT): tuner shop id

Add Account Money

Adds x money to the given account.

exports['t1ger_tuningsystem']:AddAccountMoney(shopId, amount)
-- shopId(INT): tuner shop id
-- amount(INT): amount of money to add to the account

Remove Account Money

Removes x money from the given account.

exports['t1ger_tuningsystem']:RemoveAccountMoney(shopId, amount)
-- shopId(INT): tuner shop id
-- amount(INT): amount of money to remove from the account

Set Account Money

Sets the account balance of the given account to x.

exports['t1ger_tuningsystem']:SetAccountMoney(shopId, amount)
-- shopId(INT): tuner shop id
-- amount(INT): amount of money to set the new account balance to.

Events

PreviousClientNextTroubleshoot

Last updated 8 months ago