SET_DISCORD_APP_ID
This native sets the app id for the discord rich presence implementation.
Signature
void SET_DISCORD_APP_ID(char* appId);Parameters
| Name | Type | Description |
|---|---|---|
appId | char* | A valid Discord API App Id, can be generated at https://discordapp.com/developers/applications/ |
Returns void
Description
This native sets the app id for the discord rich presence implementation.
Usage
SetDiscordAppId(appId)
-- always works, by hash
Citizen.InvokeNative(0x6a02254d, appId)JavaScript and C#
SetDiscordAppId(appId);
// by hash
Citizen.invokeNative('0x6a02254d', appId);Function.Call((Hash)0x6a02254d, appId);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.