{"hash":"0x7FB0088E8769CDDB","ns":"PED","name":"_SET_PED_IMMERSION_FLAG","slug":"_SET_PED_IMMERSION_FLAG","official":false,"named":true,"luaName":"SetPedImmersionFlag","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"toggle","type":"BOOL"}],"summary":"Only used in R* Script beat_sharp_shooter Blocks ped from swimming underwater","descriptions":[{"source":"alloc8or","format":"text","body":"Only used in R* Script beat_sharp_shooter\nBlocks ped from swimming underwater"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_SET_PED_IMMERSION_FLAG","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_SET_PED_IMMERSION_FLAG.md","snippets":{"lua":"SetPedImmersionFlag(ped, toggle)","luaInvoke":"Citizen.InvokeNative(0x7FB0088E8769CDDB, ped, toggle)","js":"SetPedImmersionFlag(ped, toggle);","jsInvoke":"Citizen.invokeNative('0x7FB0088E8769CDDB', ped, toggle);","csharp":"Function.Call((Hash)0x7FB0088E8769CDDB, ped, toggle);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}