Open Joshl45 opened 1 year ago
Where are you doing this? A separate script? a custom command? I need more information. If it's a seperate script you have to call it by the export name https://github.com/zfbx/zdiscord/blob/djs/docs/exports.md#getname if you're calling it in a custom command it's a bit different depending on things
Before submitting your question have you checked the check the FAQ or checked for similar issues already?: [yes]
Question: I have been trying to find out how to change the "invalid" to show the player name. I see SetRichPresence( GetPlayerName(source) .. " is on " .. GetStreetNameFromHashKey(GetStreetNameAtCoord(table.unpack(GetEntityCoords(player))) )). Do I change (source) and if so what do I need to change it to?
Information: FiveM artifact #: [eg. 3200] Using QBCore?: [yes] When did you last update QBCore if you are using it?: [eg. yesterday, 3 months]