{"hash":"0x814643ECA258ADF5","ns":"DATAFILE","name":"DATADICT_GET_FLOAT","slug":"DATADICT_GET_FLOAT","official":true,"named":true,"luaName":"DatadictGetFloat","game":"rdr3","apiset":"client","returnType":"float","params":[{"name":"objectData","type":"Any*"},{"name":"key","type":"const char*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":["0xA9D003CF419CB81E","0xB2B42607F7867576"],"build":"1207","gtaHash":"0x06610343E73B9727","gtaJhash":"0xA92C1AF4","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/DATAFILE/DATADICT_GET_FLOAT","markdownUrl":"https://natives.borderlinerp.com/natives/DATAFILE/DATADICT_GET_FLOAT.md","snippets":{"lua":"local retval, objectData = DatadictGetFloat(key)","luaInvoke":"local retval, objectData = Citizen.InvokeNative(0x814643ECA258ADF5, Citizen.PointerValueInt(), key, Citizen.ResultAsFloat())","js":"const [retval, objectData] = DatadictGetFloat(key);","jsInvoke":"const [retval, objectData] = Citizen.invokeNative('0x814643ECA258ADF5', Citizen.pointerValueInt(), key, Citizen.returnResultAnyway(), Citizen.resultAsFloat());","csharp":"var objectData = new OutputArgument();\nfloat retval = Function.Call<float>((Hash)0x814643ECA258ADF5, objectData, key);\n// objectData.GetResult<int>()","notes":["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."]}}