_DEACTIVATE_GOAL_CONTEXT
Based on its name and signature, here is our best reading:
Appears to deactivate the goal context identified by goalContext.
Signature
void _DEACTIVATE_GOAL_CONTEXT(Hash goalContext); // 0x50B72A754EE64A71 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | goalContext | Hash |
Facts
| 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.
Citizen.InvokeNative(0x50B72A754EE64A71, -- _DEACTIVATE_GOAL_CONTEXT
GetHashKey("name") -- Hash goalContext
)Citizen.invokeNative("0x50B72A754EE64A71", // _DEACTIVATE_GOAL_CONTEXT
GetHashKey("name") // Hash goalContext
);Function.Call((Hash)0x50B72A754EE64A71, // _DEACTIVATE_GOAL_CONTEXT
(uint)API.GetHashKey("name") // Hash goalContext
);Related SCRIPT natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.