Skip to content

About

Convert ox_target to qb-target in FiveM with ease.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OxToQbTarget

Convert ox_target to qb-target in FiveM with ease.

Features

  • Convert ox_target interactions to qb-target
  • Debug mode to visualize target entities

Requirements

  • FiveM server
  • QB-Core framework
  • qb-target resource

Installation

  1. Download the script from the GitHub repository.
  2. Extract the files into your FiveM resources folder.
  3. Add ensure ox-to-qb-target to your server.cfg file.

Usage

Client-side

To set up a target entity, use the following event:

TriggerEvent('oxToQbTargetSystem:setupTarget', entity, options)

Server-side

To set up a target entity from the server, use the following event:

TriggerClientEvent('oxToQbTargetSystem:setupTarget', -1, entity, options)

Configuration

Edit the config.lua file to adjust settings:

Config = {}

-- Target settings
Config.Target = {
    Distance = 2.5,
    Width = 0.5,
    Height = 0.5,
    Debug = false
}

-- QB-Core settings
Config.QBCore = {
    Framework = 'qb-core',
    PlayerData = 'PlayerData'
}

Generated with EnderDevelopment

This plugin was generated in minutes with EnderDevelopment — the AI platform that turns your ideas into working Minecraft plugins, Discord bots and FiveM scripts.

Want your own? Generate this project on EnderDevelopment — describe it in one sentence and get the full source code.

About

Convert ox_target to qb-target in FiveM with ease.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages