qb-target is a targeting solution that allows interaction with any predefined entity, model, entity type or polyzone. While activated you can easily and safely replace markers and distance checking, instead relying on intuitive design to improve player experiences and optimize interaction.
Lots of credits goes to qtarget for rewriting all of bt-target to make it more optimized and this resource is pretty much a fork of it.
Huge credit to bt-target from brentN5 for making the target a thing!
Credit to ms-peds for allowing me to use their awesome ped spawner inside the target!
This repository was originally a direct fork and now it's own repository as it's basically qtarget but with lots of changes to it to make it better, most of the code comes from qtarget as I find their work awesome on this and what they've achieved with it.
You are free to help through Pull Requests and leave as much suggestions or issues, I love some help!
The TEMPLATES.md and EXAMPLES.md are always being improved and new examples can be made on request, just let me know!
canInteract
function for advanced checks to show or hide an option based on any trigger