Comments (6)
@Archangelza1 That's all coming, I cleaned the whole repo because if the v2 and I'm working on a wiki and readme and making examples, but I'm on vacation so I have less time and I can't test my changes unfortunately so I have to rely on others
from qb-target.
No problem at all could i ask for a basic boxzone example for now and im sure ill figure out the rest :) also do you have plans reworking the UI :)
from qb-target.
Ill be happy to beta test for you aswell if you would like :)
from qb-target.
@Archangelza1 I wanted to rework the ui sometime but I just don't know what I want to change, if you have any tips, be sure to tell me and I'll be putting all my beta stuff on the testing branch.
Here is a basic boxzone
-- the name of the table and the name parameter can be the same
["string"] = { -- has to be unique
name = "string", -- has to be unique
coords = vector3(-206.16, -1341.66, 34.89), -- example coords
length = 1.3, -- float value
width = 0.3, -- float value
heading = 0, -- integer
debugPoly = true, -- boolean, it makes a green box if true
minZ = 33.89, -- float value
maxZ = 36.18, -- float value
options = {
{
type = "client", -- client, server, function (only function in bt-target), action (if you use this you can make the action parameter a function, this will get the entity you're looking at sent to so you can check on that)
event = "string",
parameters = {}, -- put anything you want inside this to get it through an event get it with: data.parameters, same goes for any other option here, you can get them too
icon = "fas fa-circle", -- an example one, get it from fontawesome.com
label = "string",
job = "string" -- or a table if you have more jobs, like this {["police"] = 1, ["ambulance"] = 3}
},
},
distance = 2.0 -- float value in gta units, 1.8 is mostly against an object
},
from qb-target.
Sure thing, do you have discord and maybe i can discuss it basically what im thinking is a dot that transforms to the Font Awesome Icon for the action and possible a radial kinda menu for multiple interaction :) , and i appreciate it alot
from qb-target.
You can join the qbcore framework discord, I give support there in the bt-target channel.
https://discord.gg/qbcore
from qb-target.
Related Issues (20)
- [BUG] LeaveTarget error with TargetModels HOT 4
- push to talk HOT 1
- [FEATURE] Update Examples & Templates HOT 1
- AddTargetModel doesn't work on trees props - [SUPPORT] HOT 1
- [SUPPORT] HOT 1
- HELP! script error: @qb-target/client.lua:31: attempt to call a nil value (global 'Load') [SUPPORT] HOT 1
- Relocation HOT 1
- Don't use this HOT 10
- [SUGGESTION] HOT 1
- [SUPPORT] HOT 2
- can't open options HOT 2
- [Peds Duplicate]
- function AddGlobalPlayer HOT 1
- [SUPPORT]
- need a support for an issue HOT 4
- [BUG] Font Awesome Eye Not Showing HOT 29
- [BUG] Error spam latest update HOT 8
- Global Players options not working
- [BUG]Unsupported Operation HOT 2
- [BUG] Error executing native HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qb-target.