_PED_EMOTIONAL_PRESET_LOCO_MOTION
Makes ped move using the emotional locomotion preset presetName, optionally towards targetPed, for duration.
Signature
void _PED_EMOTIONAL_PRESET_LOCO_MOTION(Ped ped, const char* presetName, Ped targetPed, int duration, int flag); // 0xAAB050DA48B57978 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | presetName | const char* |
| 3 | targetPed | Ped |
| 4 | duration | int |
| 5 | flag | int |
Facts
| Name | _PED_EMOTIONAL_PRESET_LOCO_MOTION |
|---|---|
| Hash | 0xAAB050DA48B57978 |
| 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(0xAAB050DA48B57978, -- _PED_EMOTIONAL_PRESET_LOCO_MOTION
PlayerPedId(), -- Ped ped
"text", -- const char* presetName
PlayerPedId(), -- Ped targetPed
0, -- int duration
0 -- int flag
)Citizen.invokeNative("0xAAB050DA48B57978", // _PED_EMOTIONAL_PRESET_LOCO_MOTION
PlayerPedId(), // Ped ped
"text", // const char* presetName
PlayerPedId(), // Ped targetPed
0, // int duration
0 // int flag
);Function.Call((Hash)0xAAB050DA48B57978, // _PED_EMOTIONAL_PRESET_LOCO_MOTION
API.PlayerPedId(), // Ped ped
"text", // const char* presetName
API.PlayerPedId(), // Ped targetPed
0, // int duration
0 // int flag
);Related PED natives
- _PED_CLEAR_LOCO_MOTION
- _CLEAR_PED_DESIRED_LOCO_MOTION_TYPE
- _HAS_PED_EMOTIONAL_PRESET_LOADED
- _REMOVE_PED_EMOTIONAL_PRESET
- _REQUEST_PED_EMOTIONAL_PRESET
- _SET_PED_DESIRED_LOCO_MOTION_TYPE
- _APPLY_PED_META_PED_OUTFIT
- _CAN_PED_HEAR_TARGET_PED
- _CLEAR_PED_DESIRED_LOCO_FOR_MODEL
- _CREATE_META_PED_OUTFIT_PED
- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
- _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.