The Lab
VOLUME native

DOES_VOLUME_EXIST

returns BOOL1 parambuild 1207

Returns true if volume refers to an existing volume.

Signature

C
BOOL DOES_VOLUME_EXIST(Volume volume); // 0x92A78D0BEDB332A3 b1207

Parameters

#NameType
1volumeVolume

Facts

Facts about DOES_VOLUME_EXIST
Name
DOES_VOLUME_EXIST
Hash
0x92A78D0BEDB332A3
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(0x92A78D0BEDB332A3, -- DOES_VOLUME_EXIST
  0 -- Volume volume
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x92A78D0BEDB332A3", // DOES_VOLUME_EXIST
  0, // Volume volume
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x92A78D0BEDB332A3, // DOES_VOLUME_EXIST
  0 // Volume volume
);
All VOLUME natives

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