The Lab
VEHICLE native

_0x6C87F49BFA181DB5

returns int3 paramsbuild 1207

This VEHICLE native has no community name yet, so it is known by its hash 0x6C87F49BFA181DB5. It takes 3 parameters (x as float, y as float, z as float) and returns an int.

Signature

C
int _0x6C87F49BFA181DB5(float x, float y, float z); // 0x6C87F49BFA181DB5 b1207

Parameters

#NameType
1xfloat
2yfloat
3zfloat

Facts

Facts about _0x6C87F49BFA181DB5
Name
_0x6C87F49BFA181DB5
Hash
0x6C87F49BFA181DB5
Namespace
Returns
int
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(0x6C87F49BFA181DB5, -- _0x6C87F49BFA181DB5
  0.0, -- float x
  0.0, -- float y
  0.0, -- float z
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0x6C87F49BFA181DB5", // _0x6C87F49BFA181DB5
  0.0, // float x
  0.0, // float y
  0.0, // float z
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x6C87F49BFA181DB5, // _0x6C87F49BFA181DB5
  0.0f, // float x
  0.0f, // float y
  0.0f // float z
);
All VEHICLE natives

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