The Lab
PED native

_SET_PED_IMMERSION_FLAG

returns void2 paramsbuild 1207

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

Appears to toggle an immersion flag on ped.

Signature

C
void _SET_PED_IMMERSION_FLAG(Ped ped, BOOL toggle); // 0x7FB0088E8769CDDB b1207

Parameters

#NameType
1pedPed
2toggleBOOL

Facts

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

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