DATADICT_IS_ARRAY_VALID
Hash
0xB04B69CF277D15C0Runtime name
DatadictIsArrayValidNamespaceDATAFILE
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL DATADICT_IS_ARRAY_VALID(Any* fileDict);Parameters
| Name | Type | Description |
|---|---|---|
fileDict | Any* | — |
Returns BOOL
Usage
local retval, fileDict = DatadictIsArrayValid(fileDict)
-- always works, by hash
local retval, fileDict = Citizen.InvokeNative(0xB04B69CF277D15C0, Citizen.PointerValueIntInitialized(fileDict), Citizen.ReturnResultAnyway())JavaScript and C#
const [retval, fileDict] = DatadictIsArrayValid(fileDict);
// by hash
const [retval, fileDict] = Citizen.invokeNative('0xB04B69CF277D15C0', Citizen.pointerValueIntInitialized(fileDict), Citizen.returnResultAnyway());var fileDict = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xB04B69CF277D15C0, fileDict);
// fileDict.GetResult<int>()- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
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.