PARSEDDATA_RQ_FILLOUT_HASH
Old name: _DATAFILE_GET_HASH
Hash
0xFBFF3FF2F5E80C0BRuntime name
ParseddataRqFilloutHashNamespaceDATAFILE
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL PARSEDDATA_RQ_FILLOUT_HASH(Hash* p0, Any* p1);Parameters
| Name | Type | Description |
|---|---|---|
p0 | Hash* | — |
p1 | Any* | — |
Returns BOOL
Description
Old name: _DATAFILE_GET_HASH
Usage
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#
const [retval, p0, p1] = ParseddataRqFilloutHash();
// by hash
const [retval, p0, p1] = Citizen.invokeNative('0xFBFF3FF2F5E80C0B', Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.returnResultAnyway());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
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.