ak47_target

ak47_target is designed to be a seamless, 100% drop-in replacement for ox_target, qb-target, and qtarget.
You do not need to rewrite your existing scripts or change your exports. ak47_target natively intercepts the export calls meant for those older resources and automatically translates them into its own optimized format.
Supported Scripts
ox_target (Fully supported via
ox_targetexport handlers)qb-target (Fully supported via
qb-targetexport handlers)qtarget (Fully supported via
qtargetexport handlers)
How it Works
Under the hood, ak47_target registers event handlers for __cfx_export_ox_target_%s, __cfx_export_qb-target_%s, and __cfx_export_qtarget_%s.
This means if you have an older script that calls:
...ak47_target will automatically catch this, format the legacy options (like converting job to groups, or type = "client" to standard events), and register it as an ak47_target box zone.
Legacy Functions Handled
All standard functions from the supported target scripts are automatically redirected, including:
AddBoxZone/AddPolyZone/AddCircleZoneAddTargetModel/RemoveTargetModelAddTargetEntity/RemoveTargetEntityAddGlobalPed/AddGlobalVehicle/AddGlobalObject/AddGlobalPlayerAnd their respective
ox_targetequivalents likeaddBoxZone,addGlobalPed,removeZone, etc.
(Note: The deprecated AddEntityZone from qb-target is also safely re-routed to AddTargetEntity with a console warning).
Last updated