GithubHelp home page GithubHelp logo

Comments (6)

BerkieBb avatar BerkieBb commented on July 17, 2024

@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.

Archangelza1 avatar Archangelza1 commented on July 17, 2024

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.

Archangelza1 avatar Archangelza1 commented on July 17, 2024

Ill be happy to beta test for you aswell if you would like :)

from qb-target.

BerkieBb avatar BerkieBb commented on July 17, 2024

@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.

Archangelza1 avatar Archangelza1 commented on July 17, 2024

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.

BerkieBb avatar BerkieBb commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.