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
  • Is Model ATM
  • Is Near ATM
  • Is Busy ATM
  • Set Busy ATM
  • Events
  1. Resources
  2. T1GER ATM Robbery
  3. API

Client

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

Exports

Is Model ATM

Returns whether the given entity model/hash is an ATM or not.

-- params: entityModel(INT)
exports['t1ger_atmrobbery']:IsModelATM(entityModel)
-- returns boolean(true/false) if given entityModel is an ATM
-- Example:
if IsModelATM(GetEntityModel(entity)) then
    print("entity is an ATM")
end

Returns:

  • Boolean(true/false)

Is Near ATM

Returns whether the player is near an ATM or not.

-- params: entityHandle(INT)
exports['t1ger_atmrobbery']:IsNearATM(entityHandle)
-- returns boolean(true/false) if near ATM or not
-- Example:
if IsNearATM(entityHandle) then
    print("player is near ATM")
end

Returns:

  • Boolean(true/false)

Is Busy ATM

Returns whether the ATM is in use or not.

-- params: entityHandle(INT)
exports['t1ger_atmrobbery']:IsBusyATM(entityHandle)
-- returns boolean(true/false) if ATM is busy or not
-- Example:
if IsBusyATM(entityHandle) then
    print("this atm is currently being used")
else
    print("u can interact with this atm")
end

Returns:

  • Boolean(true/false)

Set Busy ATM

Update the busy state of an ATM

-- params: atmEntity(INT), enable(boolean)
exports['t1ger_atmrobbery']:SetBusyATM(atmEntity, enable)
-- void: updates the busy state of an ATM entity
-- Example:
exports['t1ger_atmrobbery']:SetBusyATM(atmEntity, true)

Events

None

PreviousAPINextServer

Last updated 3 months ago