Hello guys . Can you help how to do like the picture above ? Thank you !! https://imgur.com/w6pouL7
Huh? Read the post and it tells you how to do it.
I followed the steps but i want to learn me if you can , how can i make like in the picture above , i mean to see the name in game, the ID in game(the number) and players like: 1/32 . Thank you !
name = GetPlayerName(PlayerId())
id = GetPlayerServerId(PlayerId())
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?