{"hash":"0x336511A34F2E5185","ns":"PATH","name":"GET_APPROX_FLOOR_FOR_POINT","slug":"GET_APPROX_FLOOR_FOR_POINT","official":true,"named":true,"luaName":"GetApproxFloorForPoint","game":"rdr3","apiset":"client","returnType":"float","params":[{"name":"x","type":"float"},{"name":"y","type":"float"}],"summary":"Returns CGameWorldHeightMap's minimum Z value at specified point (grid node).","descriptions":[{"source":"alloc8or","format":"text","body":"Returns CGameWorldHeightMap's minimum Z value at specified point (grid node)."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x336511A34F2E5185","gtaJhash":"0xA07C5B7D","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PATH/GET_APPROX_FLOOR_FOR_POINT","markdownUrl":"https://natives.borderlinerp.com/natives/PATH/GET_APPROX_FLOOR_FOR_POINT.md","snippets":{"lua":"local retval = GetApproxFloorForPoint(x, y)","luaInvoke":"local retval = Citizen.InvokeNative(0x336511A34F2E5185, x, y, Citizen.ResultAsFloat())","js":"const retval = GetApproxFloorForPoint(x, y);","jsInvoke":"const retval = Citizen.invokeNative('0x336511A34F2E5185', x + 0.0000001, y + 0.0000001, Citizen.returnResultAnyway(), Citizen.resultAsFloat());","csharp":"float retval = Function.Call<float>((Hash)0x336511A34F2E5185, x, y);","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."]}}