_ITEMDATABASE_FILLOUT_TAG_DATA
Hash
0x5A11D6EEA17165B0Runtime name
ItemdatabaseFilloutTagDataNamespaceITEMDATABASE
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _ITEMDATABASE_FILLOUT_TAG_DATA(Hash key, Any* outData, int* outIndex, int p3);Parameters
| Name | Type | Description |
|---|---|---|
key | Hash | — |
outData | Any* | — |
outIndex | int* | — |
p3 | int | — |
Returns BOOL
Usage
local retval, outData, outIndex = ItemdatabaseFilloutTagData(key, p3)
-- always works, by hash
local retval, outData, outIndex = Citizen.InvokeNative(0x5A11D6EEA17165B0, key, Citizen.PointerValueInt(), Citizen.PointerValueInt(), p3, Citizen.ReturnResultAnyway())JavaScript and C#
const [retval, outData, outIndex] = ItemdatabaseFilloutTagData(key, p3);
// by hash
const [retval, outData, outIndex] = Citizen.invokeNative('0x5A11D6EEA17165B0', key, Citizen.pointerValueInt(), Citizen.pointerValueInt(), p3, Citizen.returnResultAnyway());var outData = new OutputArgument();
var outIndex = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x5A11D6EEA17165B0, key, outData, outIndex, p3);
// outData.GetResult<int>()
// outIndex.GetResult<int>()- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - 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.- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.