AC Target - Advanced Third-Eye Targeting System for FiveM
The AC Target delivers a comprehensive third-eye targeting system for FiveM servers, providing intuitive point-and-interact gameplay that replaces traditional command-based interactions. This powerful targeting framework lets players interact with entities, vehicles, NPCs, and objects by simply looking at them and selecting context-appropriate options from a radial menu. Perfect for servers wanting modern, immersive interaction mechanics that feel natural and reduce the need for memorizing dozens of slash commands.
What's Included
This complete targeting system includes entity recognition for players, vehicles, objects, and NPCs with customizable interaction zones. The framework provides pre-built options for common interactions (opening doors, accessing trunks, robbing NPCs) while offering extensive customization for server-specific features. You get circle zones, box zones, and polygon zones for precise interaction areas, target bone support for specific body parts or vehicle components, and global options that apply to all entities of a type. The system integrates seamlessly with popular frameworks and includes exports for easy implementation in custom scripts.
Key Features
- Third-Eye Interaction - Point and click to interact with any entity
- Context-Aware Options - Menu shows only relevant actions for targeted entity
- Multiple Zone Types - Circle, box, and polygon zones for flexible area definition
- Target Bones - Interact with specific vehicle or NPC body parts
- Global Options - Set default interactions for all peds, vehicles, or objects
- Distance Control - Configurable max interaction range (default: 7.0)
- Toggle/Hold Modes - Choose between toggle eye or hold key to activate
- Visual Feedback - Circle indicator shows when entity can be targeted
- Vehicle Integration - Option to disable while in vehicles
- Framework Compatible - Works with ESX, QBCore, and standalone scripts
Perfect For
- Roleplay servers wanting intuitive interaction mechanics
- Servers reducing command clutter with visual interactions
- Job systems requiring contextual player actions
- Heist scripts with complex multi-step interactions
- Any server prioritizing user-friendly gameplay
Interaction Zone Types
- Circle Zones - Simple radius-based interaction areas (vendors, ATMs, doors)
- Box Zones - Rectangular interaction areas (garages, storage, workbenches)
- Poly Zones - Complex polygon shapes for irregular areas (shops, buildings)
- Entity Targeting - Direct targeting of players, vehicles, or objects
- Bone Targeting - Specific vehicle parts (doors, trunk, hood, wheels)
- Model Targeting - Specific prop or vehicle models
Installation Guide
- Extract AC Target to your server's resources folder
- Review the comprehensive config.lua file included
- Configure the toggle key (default: Left Alt) and interaction settings
- Set up default global options for peds, vehicles, and objects
- Define custom zones, target bones, and model-specific options
- Integrate with your existing scripts using provided exports
- Add the resource to server.cfg (load early, before dependent scripts)
- Restart server and test targeting on various entity types
Configuration Overview
The config file shown in the product details provides extensive customization options. The MaxDistance setting controls how far players can interact with targets. Toggle mode determines whether the targeting eye stays active or requires holding the key. EnableDefaultOptions includes built-in interactions for common actions. DisableInVehicle prevents targeting while driving. OpenKey sets the activation key (default: LMENU/Left Alt). DrawCircle enables the visual indicator showing targetable entities.
Framework Compatibility
- ✅ ESX - Full integration with ESX jobs, items, and events
- ✅ QBCore - Compatible with QB jobs, items, and target system
- ✅ QBOX - Works with QBOX framework features
- ✅ Standalone - Functions independently for custom frameworks
What Makes It Stand Out
AC Target prioritizes performance and ease of implementation. Unlike some targeting systems that cause FPS drops or require complex setup, this system is optimized for efficiency with minimal idle resource usage. The export system is developer-friendly, making it simple to add targeting interactions to existing scripts without rewriting entire systems. The config structure is logical and well-documented, so server owners can set up complex interaction networks without confusion. The visual feedback is subtle yet clear, enhancing immersion without cluttering the screen.
Export System
- AddCircleZone - Create radius-based interaction areas
- AddBoxZone - Define rectangular interaction zones
- AddPolyZone - Create complex polygon interaction areas
- AddTargetBone - Add interactions to vehicle or NPC bones
- AddTargetModel - Target specific prop or vehicle models
- AddGlobalPed - Set default options for all NPCs
- AddGlobalVehicle - Set default options for all vehicles
- AddGlobalObject - Set default options for all objects
- AddGlobalPlayer - Set default options for all players
Use Case Examples
- Job Actions - Mechanics repair engines by targeting vehicle hoods
- Heist Mechanics - Hack ATMs, drill safes, lockpick doors via targeting
- Inventory Access - Open trunks, gloveboxes, stashes by targeting
- NPC Interactions - Rob, talk to, or trade with NPCs by targeting
- Player Actions - Handcuff, search, or give items to other players
- Building Interactions - Enter buildings, access elevators via zone targeting
Technical Specifications
- Performance: Optimized raycast system, ~0.01ms idle usage
- Rendering: Efficient draw calls for circle indicators
- Compatibility: Works with all major targeting-dependent scripts
- Exports: Comprehensive export library for developers
- Updates: Regular updates for compatibility and features
Customization Options
- Configure activation key and toggle vs hold behavior
- Set maximum interaction distance globally or per zone
- Customize circle indicator appearance and colors
- Enable/disable targeting in vehicles
- Define default interactions for entity types
- Create custom menu icons and labels
- Set job or item requirements for specific interactions
Global Options System
Global options let you define default interactions that apply to all entities of a specific type. For example, set global ped options to allow robbing any NPC, or global vehicle options to check for locked status. These can be overridden with specific target definitions when needed, providing both convenience and flexibility.
Zone Definition Examples
- Circle Zone - ATM interaction (3m radius around ATM prop)
- Box Zone - Garage access (rectangular area at garage entrance)
- Poly Zone - Shop counter (complex shape following counter layout)
- Bone Target - Vehicle hood (target engine bone for mechanic work)
- Model Target - Specific safe model (only certain safes can be cracked)
Integration with Popular Scripts
- Job scripts (mechanic, police, EMS tools and interactions)
- Inventory systems (trunk, glovebox, stash access)
- Heist scripts (hacking, drilling, lockpicking)
- Housing scripts (door interactions, furniture placement)
- Vehicle scripts (keys, locks, modifications)
- NPC scripts (vendors, mission givers, robberies)
Developer Resources
AC Target includes extensive documentation and examples for developers. The export functions are well-commented with parameter descriptions and usage examples. Server owners with basic Lua knowledge can add simple interactions, while advanced developers can create complex, conditional targeting systems integrated deeply with their custom scripts.
https://www.youtube.com/watch?v=4l4OxE12ybE
Config File
Config = {
MaxDistance = 7.0, -- Don't touch this if you don't know what you're doing
Toggle = false,
EnableDefaultOptions = true,
DisableInVehicle = false,
OpenKey = 'LMENU', -- Left Alt
DrawCircle = true,
MenuControlKey = 237,
CircleZones = {},
BoxZones = {},
PolyZones = {},
TargetBones = {},
TargetModels = {},
GlobalPedOptions = {},
GlobalVehicleOptions = {},
GlobalObjectOptions = {},
GlobalPlayerOptions = {},
Peds = {}
}
Related vRP Scripts