How to enable target system

Target System

All Quasar Store assets use the same target system for consistency and ease of use. To prevent errors, we have standardized the configuration and provided clear options for supported systems.


Supported Target Systems

We are compatible with the following target systems:

1

ox_target

The most stable and reliable target system currently available.

Please always keep your targets updated to the latest available version.


How To Enable The Target System

All Quasar Store assets come with built-in support for target systems, allowing for seamless interaction with entities, objects, and more within your server. This configuration provides flexibility by supporting the two most popular target systems in FiveM: ox_target and qb-target.

1

Locate the Config File

Open the config.lua file for the asset you want to configure. This file contains all the adjustable settings for that specific resource.

2

Enable the Target System

Look for the following configuration line in config.lua:

Config.UseTarget = false

Change the value from false to either 'ox_target' or 'qb-target', depending on the target system you are using. For example:

Config.UseTarget = 'ox_target'
3

Choose Your Target System

After selecting your preferred target system, save the changes to the config.lua file.

4

Restart the Resource

Restart the asset or your entire server to apply the updated configuration.


Editing Or Customizing Your Target System

Quasar Store assets provide flexibility for advanced users who wish to modify or create custom target systems. All configurations for the target system are located in the directory client/custom/target/*.

These files are open source, allowing you to:

1

Edit Existing Configurations

You can adjust or refine the default target configurations to better suit your server’s requirements. For example:

  • Modify interaction ranges or options.

  • Adjust the target zones for objects, entities, or vehicles.

Make changes directly within the files located in the client/custom/target/ folder.

2

Create New Target Systems

If you use a target system not supported by default (e.g., custom-built or less common systems), you can create entirely new configurations within the same folder. Use the provided files as examples or templates to build your custom target system.

3

Important Warnings

  • Edit At Your Own Risk: While customization is encouraged, making changes can cause unexpected issues. Only experienced developers should modify these files.

  • No Support for Custom Changes: Quasar Store cannot provide support for problems arising from edits or customizations to these files.

  • Backup Files: Always create backups of the original files before making any modifications. This ensures you can revert to a functional state if something goes wrong.

Last updated