_PED_EMOTIONAL_PRESET_LOCO_MOTION
Hash
0xAAB050DA48B57978Runtime name
PedEmotionalPresetLocoMotionNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _PED_EMOTIONAL_PRESET_LOCO_MOTION(Ped ped, const char* presetName, Ped targetPed, int duration, int flag);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
presetName | const char* | — |
targetPed | Ped | — |
duration | int | — |
flag | int | — |
Returns void
Description
target: 0 affects everyone
duration: -1 indefinite
flag: always 4 in R* Scripts
Usage
PedEmotionalPresetLocoMotion(ped, presetName, targetPed, duration, flag)
-- always works, by hash
Citizen.InvokeNative(0xAAB050DA48B57978, ped, presetName, targetPed, duration, flag)JavaScript and C#
PedEmotionalPresetLocoMotion(ped, presetName, targetPed, duration, flag);
// by hash
Citizen.invokeNative('0xAAB050DA48B57978', ped, presetName, targetPed, duration, flag);Function.Call((Hash)0xAAB050DA48B57978, ped, presetName, targetPed, duration, flag);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.