CHAL_SET_GOAL_DISABLED
Hash
0xF63DF9EE16393343Runtime name
ChalSetGoalDisabledNamespaceSTATS
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
| Name | Type | Description |
|---|---|---|
chalHash | Hash | — |
goalHash | Hash | — |
disabled | BOOL | — |
Returns void
Usage
ChalSetGoalDisabled(chalHash, goalHash, disabled)
-- always works, by hash
Citizen.InvokeNative(0xF63DF9EE16393343, chalHash, goalHash, disabled)JavaScript and C#
ChalSetGoalDisabled(chalHash, goalHash, disabled);
// by hash
Citizen.invokeNative('0xF63DF9EE16393343', chalHash, goalHash, disabled);Function.Call((Hash)0xF63DF9EE16393343, chalHash, goalHash, disabled);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.