Showcase Video
Introducing qtarget
qtarget is a re-written, optimised third eye solution based on bt-target.
Credits
- Primary development by @Linden and @Noms
- Inspired by, and based on, including using javascript from: bt-target by @Brent5
Why release this?
I’ve maintained a pretty solid fork of bt-target for a while, with the intention of adding features and fixing a few things I perceived as issues. In the process of doing so I encountered more and more issues related to performance and it sort of grew into this beast that made me cry every time I looked at it.
So, Linden and myself embarked on a mission to rewrite and optimise it, and this is the result. We still have some plans for it but for the most part, we’re ready for people to try it out and give us feedback. So here it is.
Features
- Support for Objects, PolyZones, EntityZones, and Entities
- Future support planned for: Players, Peds, Vehicles, VehicleBones
- Passes data through to the event that is executed
- Utilizes
canInteract()
, a function you can define for each individual option to determine whether or not that option should be visible. - Utilizes
required_item
, which hooks into linden_inventory to check if you have an item before showing the option. - Utilizes a multi-functional
job
check per option, which can be a string or a table defining minimum grade to see an option. - Disables combat while the interactive mode is active.
- Optimised to an inch of its life - 0.04ms max recorded during testing.
Dependencies
- PolyZone by mkafrin
Optional Support for
- linden_inventory by Linden (optional in config)
- ESX Legacy by the ESX Team
Installation
Installation guide is available on our wiki
• https://quantusrp.github.io/qtarget/
Converting from bt-target
If you use my fork of bt-target, or bt-target in general, you should be able to just change the exports to be exports['qtarget']
instead of exports['bt-target']
and it should work, however due to the difference in how we handle job checking, any option that requires a job will need to be re-set.
Examples & Documentation
• https://quantusrp.github.io/qtarget/
Links
Please report all issues you find to the Github issues system. Support will be provided in this thread and other mediums.