Hi everyone. I was just informed by our players that it's possible to avoid distance check from the target and therefore access options from far away.
This video shows exact issue: https://streamable.com/5s78r1
NOTE: This was tested with the latest ox_target, downloaded today. Not release version.
The exact code being used here in this video is from Renewed-Banking, but this has nothing to do with it, instead it's a target issue.
exports.ox_target:addModel(Config.atms, {{
name = 'renewed_banking_openui',
event = 'Renewed-Banking:client:openBankUI',
icon = 'fas fa-money-check',
label = locale('view_bank'),
atm = true,
canInteract = function(_, distance)
return distance < 2.5
end
}})
From what I was able to test, this only happens if you are targeting a model or entity. I sadly have no clue what the issue here could be, but I'm sure someone from the community can figure it out. Good luck!
Hi everyone. I was just informed by our players that it's possible to avoid distance check from the target and therefore access options from far away.
This video shows exact issue: https://streamable.com/5s78r1
NOTE: This was tested with the latest ox_target, downloaded today. Not release version.
The exact code being used here in this video is from Renewed-Banking, but this has nothing to do with it, instead it's a target issue.
From what I was able to test, this only happens if you are targeting a model or entity. I sadly have no clue what the issue here could be, but I'm sure someone from the community can figure it out. Good luck!