DATADICT_SET_INT
Stores the integer value under key in the data dictionary objectData.
Signature
void DATADICT_SET_INT(Any* objectData, const char* key, int value); // 0x26FDF5E99AA2F3E9 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | objectData | Any* (out pointer) |
| 2 | key | const char* |
| 3 | value | int |
Facts
| Name | DATADICT_SET_INT |
|---|---|
| Hash | 0x26FDF5E99AA2F3E9 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local objectData = Citizen.InvokeNative(0x26FDF5E99AA2F3E9, -- DATADICT_SET_INT
Citizen.PointerValueInt(), -- Any* objectData
"text", -- const char* key
0 -- int value
)
print(objectData)const objectData = Citizen.invokeNative("0x26FDF5E99AA2F3E9", // DATADICT_SET_INT
Citizen.pointerValueInt(), // Any* objectData
"text", // const char* key
0 // int value
);
console.log(objectData)var objectDataArg = new OutputArgument();
Function.Call((Hash)0x26FDF5E99AA2F3E9, // DATADICT_SET_INT
objectDataArg, // Any* objectData
"text", // const char* key
0 // int value
);
int objectData = objectDataArg.GetResult<int>();Related DATAFILE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.