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.
Returns:
Boolean(true/false)
Set Busy ATM
Update the busy state of an ATM
Events
None
Last updated