_GET_CURRENT_CONTROL_CONTEXT
Returns the hash of the input context currently applied to the control group control.
Signature
Hash _GET_CURRENT_CONTROL_CONTEXT(int control); // 0xDDCEB0F26C89C00F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | control | int |
Facts
| Name | _GET_CURRENT_CONTROL_CONTEXT |
|---|---|
| Hash | 0xDDCEB0F26C89C00F |
| Namespace | |
| Returns | Hash |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local hash = Citizen.InvokeNative(0xDDCEB0F26C89C00F, -- _GET_CURRENT_CONTROL_CONTEXT
0, -- int control
Citizen.ResultAsInteger()
)
print(hash)const hash = Citizen.invokeNative("0xDDCEB0F26C89C00F", // _GET_CURRENT_CONTROL_CONTEXT
0, // int control
Citizen.resultAsInteger()
);
console.log(hash)int hash = Function.Call<int>((Hash)0xDDCEB0F26C89C00F, // _GET_CURRENT_CONTROL_CONTEXT
0 // int control
);Related PAD natives
- _GET_DISABLED_CONTROL_HOW_LONG_AGO
- _SET_CONTROL_CONTEXT
- GET_CONTROL_HOW_LONG_AGO
- GET_CONTROL_NORMAL
- GET_CONTROL_UNBOUND_NORMAL
- GET_CONTROL_VALUE
- GET_DISABLED_CONTROL_NORMAL
- GET_DISABLED_CONTROL_UNBOUND_NORMAL
- _IS_CONTROL_ACTION_VALID
- CLEAR_CONTROL_LIGHT_EFFECT
- CLEAR_CONTROL_SHAKE_SUPPRESSED_ID
- DISABLE_ALL_CONTROL_ACTIONS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.