RedM Natives

_SET_CURRENT_UGC_MISSION_DESCRIPTION

string1 is the only string used in the scripts, the others are null (0)

Hash0xCE0D2F5586627CCE
Runtime nameSetCurrentUgcMissionDescription
NamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_CURRENT_UGC_MISSION_DESCRIPTION(BOOL active, const char* string1, const char* string2, const char* string3, const char* string4);

Parameters

NameTypeDescription
activeBOOL—
string1const char*—
string2const char*—
string3const char*—
string4const char*—

Returns void

Description

string1 is the only string used in the scripts, the others are null (0)

Usage

Lua
SetCurrentUgcMissionDescription(active, string1, string2, string3, string4)

-- always works, by hash
Citizen.InvokeNative(0xCE0D2F5586627CCE, active, string1, string2, string3, string4)
JavaScript and C#
JavaScript
SetCurrentUgcMissionDescription(active, string1, string2, string3, string4);

// by hash
Citizen.invokeNative('0xCE0D2F5586627CCE', active, string1, string2, string3, string4);
C#
Function.Call((Hash)0xCE0D2F5586627CCE, active, string1, string2, string3, string4);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.