{"hash":"0xB98B78C3768AF6E0","ns":"MISC","name":"_GET_TEMPERATURE_AT_COORDS","slug":"_GET_TEMPERATURE_AT_COORDS","official":false,"named":true,"luaName":"GetTemperatureAtCoords","game":"rdr3","apiset":"client","returnType":"float","params":[{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/MISC/_GET_TEMPERATURE_AT_COORDS","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/_GET_TEMPERATURE_AT_COORDS.md","snippets":{"lua":"local retval = GetTemperatureAtCoords(x, y, z)","luaInvoke":"local retval = Citizen.InvokeNative(0xB98B78C3768AF6E0, x, y, z, Citizen.ResultAsFloat())","js":"const retval = GetTemperatureAtCoords(x, y, z);","jsInvoke":"const retval = Citizen.invokeNative('0xB98B78C3768AF6E0', x + 0.0000001, y + 0.0000001, z + 0.0000001, Citizen.returnResultAnyway(), Citizen.resultAsFloat());","csharp":"float retval = Function.Call<float>((Hash)0xB98B78C3768AF6E0, x, y, z);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}