The Lab
VOLUME native

GET_VOLUME_COORDS

returns Vector31 parambuild 1207

Returns the center position of volume.

Signature

C
Vector3 GET_VOLUME_COORDS(Volume volume); // 0xF70F00013A62F866 b1207

Parameters

#NameType
1volumeVolume

Facts

Facts about GET_VOLUME_COORDS
Name
GET_VOLUME_COORDS
Hash
0xF70F00013A62F866
Namespace
Returns
Vector3
Game build
1207

Examples

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

Lua
local coords = Citizen.InvokeNative(0xF70F00013A62F866, -- GET_VOLUME_COORDS
  0, -- Volume volume
  Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)
JavaScript
const coords = Citizen.invokeNative("0xF70F00013A62F866", // GET_VOLUME_COORDS
  0, // Volume volume
  Citizen.resultAsVector()
);
const [x, y, z] = coords
C#
Vector3 coords = Function.Call<Vector3>((Hash)0xF70F00013A62F866, // GET_VOLUME_COORDS
  0 // Volume volume
);
All VOLUME natives

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