A clean and modern 3D world-positioned targeting system for FiveM.
Lightweight. Expandable. Developer-friendly.
- 🎯 Floating 3D world UI
- 📚 Multiple stacked targets
- 🔄 Dynamic expand animation
- 🧩 Export support for other resources
- 🔔 Optional GitHub update checker
- 🧠 Optimized performance logic
- ✅ Standalone
- Place resource in:
resources/cz_targetX
- Add to server.cfg:
ensure cz_targetX
- Run:
refresh
start cz_targetX
File: config.lua
Config.BuildId = "1.0.0" -- Never change this setting
Config.CheckForUpdates = true
Config.DefaultButtonId = 38
Config.DefaultDrawDistance = 15.0
Config.DefaultInteractDistance = 2.0DefaultButtonId: fallback key if target does not definebuttonId(38 = E)DefaultDrawDistance: prompt visibility rangeDefaultInteractDistance: key interaction rangeCheckForUpdates:true/falseBuildId: used for release comparison (do not modify)
exports.cz_targetX:AddTarget("example_target", {
coords = vec3(0.0, 0.0, 0.0),
label = "Example"
})exports.cz_targetX:UpdateTarget("example_target", {
label = "New label"
})exports.cz_targetX:RemoveTarget("example_target")| Field | Type | Required | Description |
|---|---|---|---|
| coords | vector3 | ✅ | World position |
| label | string | ❌ | Display text |
| drawDistance | number | ❌ | Visibility range |
| interactDistance | number | ❌ | Interaction range |
| buttonId | number | ❌ | Key control |
| event | string | ❌ | Trigger event |
| eventType | string | ❌ | "client" or "server" |
| args | any | ❌ | Custom arguments |
- Clean minimal 3D layout
- Soft expand animation on active target
- Slight glow on selected row
- Button left, text right
- No over-designed effects
- Performance-first logic
This project is open source for learning, modifying, and use on servers.
- Use it in private/public servers
- Modify it for your own needs
- Share improvements with credit
- Sell this resource (original or modified)
- Reupload and claim authorship
- Remove original author credit
Author: Czmenz