Skip to Content
Resourcesqb-target Reference

qb-target

qb-target adds interaction options to entities, models, entity types, bones, and PolyZone zones. Its manifest requires PolyZone; QBCore is an optional dependency according to the README.

Start with config.lua, then use upstream EXAMPLES.md and TEMPLATES.md for the current registration shape. Target visibility can be limited by distance and canInteract checks. Treat client visibility as presentation only: validate permissions and state again on the server before changing money, inventory, or persistent entities.

Update checklist

  1. Compare config.lua, registration.lua, client.lua, and data/ with your deployed commit.
  2. Test add/remove operations and every job, gang, item, and distance condition on staging.
  3. Confirm target callbacks cannot bypass the server-side authorization for their action.

Sources: READMEΒ  Β· manifestΒ