Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Question qb-target can't

gataurp

Gold Elite
Joined
Jan 27, 2022
Messages
90
Reaction score
52
Points
231
Location
indonesia
qb-target can't be directed to atm

GG.png
 

kaz189

Gold Elite
Joined
Aug 23, 2021
Messages
111
Reaction score
627
Points
316
Location
New Zealand
I have qb target and it is working. If you want you can check this function out. Its from my qb target.
Config.TargetModels = {

["ATM"] = {
models = {
`prop_atm_01`,
`prop_atm_02`,
`prop_atm_03`,
`prop_fleeca_atm`,
},
options = {
{
type = "server",
event = "qb-atms:server:tryATM",
icon = "fab fa-cc-visa",
label = "Use ATM",
},
},
distance = 2.5,
},
Also would help if you had any errors.
 

Tifa

Member
Joined
Jan 16, 2023
Messages
5
Reaction score
0
Points
156
Location
Canada
I have qb target and it is working. If you want you can check this function out. Its from my qb target.
Config.TargetModels = {

["ATM"] = {
models = {
`prop_atm_01`,
`prop_atm_02`,
`prop_atm_03`,
`prop_fleeca_atm`,
},
options = {
{
type = "server",
event = "qb-atms:server:tryATM",
icon = "fab fa-cc-visa",
label = "Use ATM",
},
},
distance = 2.5,
},
Also would help if you had any errors.
You must be using an older QB-ATMS. The "tryATM" function doesn't exist.

this is the correct one:
RegisterNetEvent('qb-atms:server:enteratm',function ()


So event should read:

event = "qb-atms:server:enteratm",
 

spartant101

Member
Joined
May 17, 2023
Messages
2
Reaction score
0
Points
146
Location
USA
You must be using an older QB-ATMS. The "tryATM" function doesn't exist.

this is the correct one:
RegisterNetEvent('qb-atms:server:enteratm',function ()


So event should read:

event = "qb-atms:server:enteratm",
Where exactly would I put this whole thing?
 
Top