zfbx / zdiscord

A Discord bot that runs in FiveM for the purpose of whitelisting, moderation and utilties using discord.js
Other
210 stars 79 forks source link

Export Other Player ID File #92

Open Brian2104 opened 1 year ago

Brian2104 commented 1 year ago

Before submitting your question have you checked the check the FAQ or checked for similar issues already?: Yes

Question: currently this discord file receives the default ID of fivem, and I want to get the ID from another file, what should I do? (I use This ID file). (https://forum.cfx.re/t/standalone-rufiuniqueid-use-permanent-id-with-all-scripts-instead-server-id/2495789) Information:

FiveM artifact #: 5848 Using QBCore?: yes When did you last update QBCore if you are using it?: 1 week ago

zfbx commented 1 year ago

I mean, from reading that forum post it looks like they provide exports to convert and and from for you exports.RufiUniqueID:GetUIDfromID() and exports.RufiUniqueID:GetIDfromUID() but also this shouldn't impact the use of zdiscord as is unless you're doing something custom

Brian2104 commented 1 year ago

I know that if you don't exports.RufiUniqueID:GetUIDfromID() and exports.RufiUniqueID:GetIDfromUID() either of them, the ID of that File will not be displayed. for example "/id" to check the id of the character if you don't export you will see the default ID of FIVEM but if you export you will see the ID of that file. (example image below) Capture

Brian2104 commented 1 year ago

@zfbx i mean i want command in discord get ID From rufiuniqueid file