Thank you . I tryed , iāve made like this: https://imgur.com/a/aUHsAQb and it didnāt work . Can you help me out ? Thank you !
If youāre trying to use the name and id var in the SetDiscordRichPresenceAssetText text string you must enclose it in "..
ex: SetDiscordRichPresenceAssetText("ID: "..id.." | "..name.." ")
I have never tested if you can put a variable in the image texts but that is how you would do it
Super useful.
Thanks so much for making this Iāve been trying to figure it out for so long!
When you mean āroleplay namesā do you mean names given to you by esx, vrp, etc? or the users steam name?
I fixed it, its for ESX.
Love this mate!
Love it, thank you Image is just for now while i find someone to make me a better one, was taken from google.
good release cutie
does not work
Discribe any errors because this sounds like user error
Get it to work, but the photo does not want to appear ā¦
First check if the image name is correct, also make sure you donāt have a double ā-ā in your image name, this may causes a weird bug.
@QuimeyDo you possibly have a discord, maybe we can call and you can show me because Iām confused. If you want to DM me on the forums to exchange information, that works.
If you will change the MPH to KPH do this
MPH = math.ceil(GetEntitySpeed(GetVehiclePedIsUsing(PlayerPedId())) * 3.6)
Hi were do i put these commandsā¦is this right ?
Citizen.CreateThread(function()
while true do
āThis is the Application ID (Replace this with you own)
SetDiscordAppId(560458517799239716)
--Here you will have to put the image name for the "large" icon.
SetDiscordRichPresenceAsset('logo')
--(11-11-2018) New Natives:
--Here you can add hover text for the "large" icon.
SetDiscordRichPresenceAssetText('NaturBerget RP')
--Here you will have to put the image name for the "small" icon.
SetDiscordRichPresenceAssetSmall('logo')
--Here you can add hover text for the "small" icon.
SetDiscordRichPresenceAssetSmallText('sweden_flag_orb_icon_svg')
name = GetPlayerName(PlayerId())
id = GetPlayerServerId(PlayerId())
SetDiscordRichPresenceAssetText("ID: "..id.." | "..name.." ")
--It updates every one minute just in case.
Citizen.Wait(60000)
end
end)
Does anyone know how to fix it? Why not picture?
Have you used SetDiscordRichPresenceAsset
and set the param to karmarp
, for example SetDiscordRichPresenceAsset('karmarp')
.
Do you have a proper SetDiscordAppId
?
Iām stupid it works now