The Lab
PED native

_REMOVE_PED_STAY_OUT_VOLUME

returns BOOL2 paramsbuild 1207

Removes volume from the areas ped avoids, returning true on success.

Signature

C
BOOL _REMOVE_PED_STAY_OUT_VOLUME(Ped ped, Volume volume); // 0x0CAB404CD2DB41F5 b1207

Parameters

#NameType
1pedPed
2volumeVolume

Facts

Facts about _REMOVE_PED_STAY_OUT_VOLUME
Name
_REMOVE_PED_STAY_OUT_VOLUME
Hash
0x0CAB404CD2DB41F5
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x0CAB404CD2DB41F5, -- _REMOVE_PED_STAY_OUT_VOLUME
  PlayerPedId(), -- Ped ped
  0 -- Volume volume
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x0CAB404CD2DB41F5", // _REMOVE_PED_STAY_OUT_VOLUME
  PlayerPedId(), // Ped ped
  0, // Volume volume
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x0CAB404CD2DB41F5, // _REMOVE_PED_STAY_OUT_VOLUME
  API.PlayerPedId(), // Ped ped
  0 // Volume volume
);
All PED natives

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