The Lab
GRAPHICS native

_0x402E1A61D2587FCD

returns BOOL7 paramsbuild 1207

This GRAPHICS native has no community name yet, so it is known by its hash 0x402E1A61D2587FCD. It takes 7 parameters (p0 as Any, x as float, y as float, z as float, p4 as float, p5 as float, heading as float) and returns a BOOL.

Signature

C
BOOL _0x402E1A61D2587FCD(Any p0, float x, float y, float z, float p4, float p5, float heading); // 0x402E1A61D2587FCD b1207

Parameters

#NameType
1p0Any
2xfloat
3yfloat
4zfloat
5p4float
6p5float
7headingfloat

Facts

Facts about _0x402E1A61D2587FCD
Name
_0x402E1A61D2587FCD
Hash
0x402E1A61D2587FCD
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(0x402E1A61D2587FCD, -- _0x402E1A61D2587FCD
  0, -- Any p0
  0.0, -- float x
  0.0, -- float y
  0.0, -- float z
  0.0, -- float p4
  0.0, -- float p5
  0.0 -- float heading
)
if result then
  -- ...
end
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0x402E1A61D2587FCD", // _0x402E1A61D2587FCD
  0, // Any p0
  0.0, // float x
  0.0, // float y
  0.0, // float z
  0.0, // float p4
  0.0, // float p5
  0.0, // float heading
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x402E1A61D2587FCD, // _0x402E1A61D2587FCD
  0, // Any p0
  0.0f, // float x
  0.0f, // float y
  0.0f, // float z
  0.0f, // float p4
  0.0f, // float p5
  0.0f // float heading
);
All GRAPHICS natives

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