Scriptsox_target
Installation
Install NX Creative's ox_target as a drop-in replacement for the upstream resource.
For server-wide prerequisites work through the generic install guide first. This page only lists what is specific to this build of ox_target.
Dependencies
This is a drop-in replacement for upstream ox_target. Replace
the existing folder, or rename this resource and disable the original.
ox_lib
RequiredRequired. Used for zones, callbacks, and shared utilities. Same version requirement as upstream ox_target.
Replacing upstream ox_target
- Stop your server.
- Move or delete your existing
ox_targetfolder. - Drop this folder in its place. The folder name must remain
ox_targetbecause the resource setsprovide 'qtarget'and is referenced by name across other scripts. - Start the server.
No SQL, no script changes, no migration. Existing calls to exports.ox_target:addBoxZone(...) keep working.
server.cfg order
ensure ox_lib
ensure ox_target
# ensure your framework and any resources that depend on ox_target after thisConfiguration
Behavior is controlled by FiveM convars set in server.cfg. See Configuration for the full list.