zdiscord icon indicating copy to clipboard operation
zdiscord copied to clipboard

Player name showing "invalid" is on road name

Open Joshl45 opened this issue 1 year ago • 1 comments

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]

Joshl45 avatar Jun 28 '23 13:06 Joshl45