SET_CONTROL_TRIGGER_SHAKE
Vibrates the left and right triggers of the controller for control with separate durations and frequencies.
Signature
void SET_CONTROL_TRIGGER_SHAKE(int control, int leftDuration, int leftFrequency, int rightDuration, int rightFrequency); // 0x14D29BB12D47F68C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | control | int |
| 2 | leftDuration | int |
| 3 | leftFrequency | int |
| 4 | rightDuration | int |
| 5 | rightFrequency | int |
Facts
| Name | SET_CONTROL_TRIGGER_SHAKE |
|---|---|
| Hash | 0x14D29BB12D47F68C |
| 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(0x14D29BB12D47F68C, -- SET_CONTROL_TRIGGER_SHAKE
0, -- int control
0, -- int leftDuration
0, -- int leftFrequency
0, -- int rightDuration
0 -- int rightFrequency
)Citizen.invokeNative("0x14D29BB12D47F68C", // SET_CONTROL_TRIGGER_SHAKE
0, // int control
0, // int leftDuration
0, // int leftFrequency
0, // int rightDuration
0 // int rightFrequency
);Function.Call((Hash)0x14D29BB12D47F68C, // SET_CONTROL_TRIGGER_SHAKE
0, // int control
0, // int leftDuration
0, // int leftFrequency
0, // int rightDuration
0 // int rightFrequency
);Related PAD natives
- SET_CONTROL_SHAKE
- SET_CONTROL_SHAKE_SUPPRESSED_ID
- SET_CONTROL_LIGHT_EFFECT_COLOR
- SET_CONTROL_LIGHT_EFFECT_FLASHING_COLOR
- SET_CONTROL_VALUE_NEXT_FRAME
- STOP_CONTROL_SHAKE
- _SET_CONTROL_CONTEXT
- CLEAR_CONTROL_SHAKE_SUPPRESSED_ID
- SET_INPUT_EXCLUSIVE
- _GET_CURRENT_CONTROL_CONTEXT
- _GET_DISABLED_CONTROL_HOW_LONG_AGO
- _IS_CONTROL_ACTION_VALID
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.