RedM Natives

CHAL_SET_GOAL_DISABLED

Hash0xF63DF9EE16393343
Runtime nameChalSetGoalDisabled
NamespaceSTATS
SideClient
NameOfficial
Docs
Since build1436

Not called by the game's own scripts — behaviour may be incomplete.

Signature

void CHAL_SET_GOAL_DISABLED(Hash chalHash, Hash goalHash, BOOL disabled);

Parameters

NameTypeDescription
chalHashHash—
goalHashHash—
disabledBOOL—

Returns void

Usage

Lua
ChalSetGoalDisabled(chalHash, goalHash, disabled)

-- always works, by hash
Citizen.InvokeNative(0xF63DF9EE16393343, chalHash, goalHash, disabled)
JavaScript and C#
JavaScript
ChalSetGoalDisabled(chalHash, goalHash, disabled);

// by hash
Citizen.invokeNative('0xF63DF9EE16393343', chalHash, goalHash, disabled);
C#
Function.Call((Hash)0xF63DF9EE16393343, chalHash, goalHash, disabled);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

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