The Lab
PED native

_PED_EMOTIONAL_PRESET_LOCO_MOTION

returns void5 paramsbuild 1207

Makes ped move using the emotional locomotion preset presetName, optionally towards targetPed, for duration.

Signature

C
void _PED_EMOTIONAL_PRESET_LOCO_MOTION(Ped ped, const char* presetName, Ped targetPed, int duration, int flag); // 0xAAB050DA48B57978 b1207

Parameters

#NameType
1pedPed
2presetNameconst char*
3targetPedPed
4durationint
5flagint

Facts

Facts about _PED_EMOTIONAL_PRESET_LOCO_MOTION
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.

Lua
Citizen.InvokeNative(0xAAB050DA48B57978, -- _PED_EMOTIONAL_PRESET_LOCO_MOTION
  PlayerPedId(), -- Ped ped
  "text", -- const char* presetName
  PlayerPedId(), -- Ped targetPed
  0, -- int duration
  0 -- int flag
)
JavaScript
Citizen.invokeNative("0xAAB050DA48B57978", // _PED_EMOTIONAL_PRESET_LOCO_MOTION
  PlayerPedId(), // Ped ped
  "text", // const char* presetName
  PlayerPedId(), // Ped targetPed
  0, // int duration
  0 // int flag
);
C#
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
);
All PED natives

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