The Lab
TASK native

_EMIT_PED_CARRIABLE_STRUGGLE_DIRECTION

returns void2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Feeds a struggle direction for a carried ped, used while it tries to break free.

Signature

C
void _EMIT_PED_CARRIABLE_STRUGGLE_DIRECTION(Ped ped, float direction); // 0x1ECF56C040FD839C b1207

Parameters

#NameType
1pedPed
2directionfloat

Facts

Facts about _EMIT_PED_CARRIABLE_STRUGGLE_DIRECTION
Name
_EMIT_PED_CARRIABLE_STRUGGLE_DIRECTION
Hash
0x1ECF56C040FD839C
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(0x1ECF56C040FD839C, -- _EMIT_PED_CARRIABLE_STRUGGLE_DIRECTION
  PlayerPedId(), -- Ped ped
  0.0 -- float direction
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x1ECF56C040FD839C", // _EMIT_PED_CARRIABLE_STRUGGLE_DIRECTION
  PlayerPedId(), // Ped ped
  0.0 // float direction
);
C#
Function.Call((Hash)0x1ECF56C040FD839C, // _EMIT_PED_CARRIABLE_STRUGGLE_DIRECTION
  API.PlayerPedId(), // Ped ped
  0.0f // float direction
);
All TASK natives

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