The Lab
SCRIPT native

_DEACTIVATE_GOAL_CONTEXT

returns void1 parambuild 1207

Based on its name and signature, here is our best reading:

Appears to deactivate the goal context identified by goalContext.

Signature

C
void _DEACTIVATE_GOAL_CONTEXT(Hash goalContext); // 0x50B72A754EE64A71 b1207

Parameters

#NameType
1goalContextHash

Facts

Facts about _DEACTIVATE_GOAL_CONTEXT
Name
_DEACTIVATE_GOAL_CONTEXT
Hash
0x50B72A754EE64A71
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x50B72A754EE64A71, -- _DEACTIVATE_GOAL_CONTEXT
  GetHashKey("name") -- Hash goalContext
)
JavaScript
Citizen.invokeNative("0x50B72A754EE64A71", // _DEACTIVATE_GOAL_CONTEXT
  GetHashKey("name") // Hash goalContext
);
C#
Function.Call((Hash)0x50B72A754EE64A71, // _DEACTIVATE_GOAL_CONTEXT
  (uint)API.GetHashKey("name") // Hash goalContext
);
All SCRIPT natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.