Git Product home page Git Product logo

Comments (8)

zfbx avatar zfbx commented on August 28, 2024

What command even is that? I never made a "st-kill.js"

from zdiscord.

zfbx avatar zfbx commented on August 28, 2024

Or have you just renamed everything "qb" to "st"?

from zdiscord.

zfbx avatar zfbx commented on August 28, 2024

If I was to take a guess, you have an old version of qbcore? if so you'll need the old method of getting core which you can find how to revert back in the most recent commit? 83b422c

from zdiscord.

ForceRanger22 avatar ForceRanger22 commented on August 28, 2024

Or have you just renamed everything "qb" to "st"?

If I was to take a guess, you have an old version of qbcore? if so you'll need the old method of getting core which you can find how to revert back in the most recent commit? 83b422c

yes and yes itry to revert it but it not working
can you send the old version
before the changes?

from zdiscord.

zfbx avatar zfbx commented on August 28, 2024

I can't send the old version, you just need to change app.js line 21 from QBCore = global.exports['qb-core'].GetCoreObject() to TriggerEvent('QBCore:GetObject', (obj) => { QBCore = obj });

from zdiscord.

ForceRanger22 avatar ForceRanger22 commented on August 28, 2024

I can't send the old version, you just need to change app.js line 21 from QBCore = global.exports['qb-core'].GetCoreObject() to TriggerEvent('QBCore:GetObject', (obj) => { QBCore = obj });

ty working its now all working
can i ask if you goona make update with support of okokChat?

and maybe can you make ban but with the ban inside qb-core
and not deafult

from zdiscord.

zfbx avatar zfbx commented on August 28, 2024

ban can be potentially added yeah, i don't have a timeframe on when I can add it however but if you wanted to take it on yourself the qb-kick command is very similar in input so you could probably copy that one and change it to work as a ban command.

As for the okokchat, didn't even know what that was, after some research it's a paid script and I don't own it so no I wont be adding support for it, I'm not sure why it doesn't just support normal chat as is? what exactly does it not do?

from zdiscord.

zfbx avatar zfbx commented on August 28, 2024

added ban command to the new version that's not fully released yet (as cfx hasn't made the node16 update a part of the recommended or optional artifacts yet, but it does work if you use the most updated artifacts) https://github.com/zfbx/zdiscord/blob/djs/commands/qb-ban.js

from zdiscord.

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.