The Lab
PED native

SET_LOOTING_FLAG

returns void3 paramsbuild 1207

Enables or disables the looting flag lootFlag on ped.

Signature

C
void SET_LOOTING_FLAG(Ped ped, int lootFlag, BOOL enabled); // 0x6569F31A01B4C097 b1207

Parameters

#NameType
1pedPed
2lootFlagint
3enabledBOOL

Facts

Facts about SET_LOOTING_FLAG
Name
SET_LOOTING_FLAG
Hash
0x6569F31A01B4C097
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(0x6569F31A01B4C097, -- SET_LOOTING_FLAG
  PlayerPedId(), -- Ped ped
  0, -- int lootFlag
  false -- BOOL enabled
)
JavaScript
Citizen.invokeNative("0x6569F31A01B4C097", // SET_LOOTING_FLAG
  PlayerPedId(), // Ped ped
  0, // int lootFlag
  false // BOOL enabled
);
C#
Function.Call((Hash)0x6569F31A01B4C097, // SET_LOOTING_FLAG
  API.PlayerPedId(), // Ped ped
  0, // int lootFlag
  false // BOOL enabled
);
All PED natives

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