[Release] Custom Rich Presence for Discord

Custom RPC for Discord (server-sided)

Very Simple


Uses

  • Advertise Website link
  • Advertise Discord link
  • Advertise literally anything idk

client.lua

-- Change the string below to what you want as the RPC
local content = "Zua is neat"

Citizen.CreateThread(function()
    SetRichPresence(content)
end)

alt-text

If you don’t know how to install this, you’re fucking stupid but here you go anyways

4 Likes

I would make it so it’s configurable through the server.cfg; I’ve seen some resources do that.

How would you go about linking it with the server.cfg?

1 Like

Firstly, this code is done in a loop for some reason, which it shouldnt even be in, secondly, all this resource will do is crash, as you need a wait in the loop. This would also imo be more suited as some sort of showcase of the native, as to me, it doesnt really seem worthy of a release

Bad Resource: exists

@sadboilogan:

1 Like

If you don’t know, you’re fucking stupid.

Mate this is fucking genius
Thank you :smiley:

Very bad script