Well guess it’s finally time I should actually post this in a place where people can find it…
Introducing zdiscord, a powerful, fully self-contained script that utilities the power of a discord bot to give you full control over your server. From moderation to whitelisting, answering support tickets without even needing to get on the computer, logging events to talking to staff members in city… This resource can do it all and more… A lot of work and love went into making this resource as friendly to use easy to config and flexible to extend to do whatever you need with modular commands, events and addons.
NOTE: Build on node16’s features (used by discord.js) this resource REQUIRES FiveM Artifacts 4890 or higher (older releases support older artifacts but don’t have the same features or support)
mate, this is probably the BEST discord & FiveM bot i’ve ever experienced, alse the owner is such a nice person if you got any problems, quick reactions. I love this! <3
Sorry for the late reply I was out of town. If you’re still having problems with this try using just
client.QBCore = false;
TriggerEvent("QBCore:GetObject", (obj) => { client.QBCore = obj; });
if (client.QBCore) utils.log.info("QBCore found! Supported QB commands will be loaded.");
without the try { } catch {} stuff and let me know which which artifacts you’re on and from when and where yourr QBCore is from, they’ve had a few changes over the past couple months so it’s hard to support them all
how can i make command like [ setmoney] or [ setcoin ] for esx version i am trying to make it work but it dosn`t work for me!!
i am using [ args.id ] [ args.amount ] to set money amount to sent to player !
i know it`s wrong in the selected section but can you explane to me how to make it work with esx version
So I actually have almost no experience with esx to be that useful but where it’s doing player.Functions.SetMoney what is player grabbing? are you importing ESX in the fxmanifest? something like shared_script '@es_extended/imports.lua' I believe.
Then above that line in the script you’ll probably want something like const player = ESX.GetPlayerFromId(args.id)
So, out of the box, it doesn’t actually do anything queue related, there are exports available to check roles and such for whatever queue you want to use but will require some work to get them to work.
There is a (and please read carefully how I word this, cause i wont give support on it) a starter queue called zqueue on my github… I don’t know it’s current state, and I’ve not really tested it, it was work in progress last I touched it but I’ve seen a few people using it your mileage may vary if you decide to try it.
But if you want support, I’d reach out to another queue system and see how hard it’d be to extend using the exports I’ve provided (found in docs)