The Lab
PED native

SET_PED_COMBAT_MOVEMENT

returns void2 paramsbuild 1207

Sets the combat movement style of ped: stationary, defensive, aggressive or suicidal.

Signature

C
void SET_PED_COMBAT_MOVEMENT(Ped ped, int combatMovement); // 0x4D9CA1009AFBD057 b1207

Parameters

#NameType
1pedPed
2combatMovementint

Facts

Facts about SET_PED_COMBAT_MOVEMENT
Name
SET_PED_COMBAT_MOVEMENT
Hash
0x4D9CA1009AFBD057
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(0x4D9CA1009AFBD057, -- SET_PED_COMBAT_MOVEMENT
  PlayerPedId(), -- Ped ped
  0 -- int combatMovement
)
JavaScript
Citizen.invokeNative("0x4D9CA1009AFBD057", // SET_PED_COMBAT_MOVEMENT
  PlayerPedId(), // Ped ped
  0 // int combatMovement
);
C#
Function.Call((Hash)0x4D9CA1009AFBD057, // SET_PED_COMBAT_MOVEMENT
  API.PlayerPedId(), // Ped ped
  0 // int combatMovement
);
All PED natives

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