Location display for Discord's Rich Presence

Noice 10/10 :+1:

4 Likes

Another little update!

I’ve improved the code for the running message along with adding a sprinting message:
https://illusivetea.me/WhyArePeopleSoFuckingDumb/4I5M2c43A.png

1 Like

Me When i’m S P R I N T I N G D O W N E L G I N A V E:


2 Likes

I legit saw this in discord and thought it was already a feature lol. Nice release :rofl:

1 Like

Pretty cool stuff! Any way to change the default FiveM icon to the one used in the launcher?

no.

This is now possible thanks to IceHax who replied “no” to you. I think your message inspired him :slight_smile:

Oh is it now? Where can someone (see also: me) find this?

3 Likes
1 Like

use my code here

I’ve been using the one that @d0p3t linked, but thanks!

Updated to now support custom App ID and Asset Ids, make sure you have a recent build and in the servers config add:

setr "RichAppId" "ID OF APP HERE"
setr "RichAssetId" "ASSET ID HERE"

If these values arent added, it will default to the regular fivem app asset and id

1 Like

Is this just an updated version of?

SetDiscordAppId('APP ID')
SetDiscordRichPresenceAsset('ASSET ID')

What? these are just convars to make it simpler to set them

Pics are broke @sadboilogan

1 Like

So I added this resourse and I get “Failed to load discordFiveMRich :(” can someone please help?

Fixed I misspelled something

I am getting this error:

Error loading script client.lua in resource RichAPI
GetConvar.lua2: in function ‘GetConvar’
@RichAPI/client.lua:28 in main chunk

anyone able to help?

It’s not working for me, any idea? I’m running standalone, Vmenu.