RedM Natives

PARSEDDATA_RQ_FILLOUT_HASH

Old name: _DATAFILE_GET_HASH

Hash0xFBFF3FF2F5E80C0B
Runtime nameParseddataRqFilloutHash
NamespaceDATAFILE
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL PARSEDDATA_RQ_FILLOUT_HASH(Hash* p0, Any* p1);

Parameters

NameTypeDescription
p0Hash*—
p1Any*—

Returns BOOL

Description

Old name: _DATAFILE_GET_HASH

Usage

Lua
local retval, p0, p1 = ParseddataRqFilloutHash()

-- always works, by hash
local retval, p0, p1 = Citizen.InvokeNative(0xFBFF3FF2F5E80C0B, Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const [retval, p0, p1] = ParseddataRqFilloutHash();

// by hash
const [retval, p0, p1] = Citizen.invokeNative('0xFBFF3FF2F5E80C0B', Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.returnResultAnyway());
C#
var p0 = new OutputArgument();
var p1 = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xFBFF3FF2F5E80C0B, p0, p1);
// p0.GetResult<int>()
// p1.GetResult<int>()
  • Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
  • Any* arguments are often structs. Build them with a DataView buffer and pass it with :Buffer() — see the examples and notes below.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.