{"hash":"0xF256A75210C5C0EB","ns":"VOLUME","name":"IS_POINT_IN_VOLUME","slug":"IS_POINT_IN_VOLUME","official":true,"named":true,"luaName":"IsPointInVolume","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"volume","type":"Volume"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"}],"summary":"Old name: _IS_POSITION_INSIDE_VOLUME","descriptions":[{"source":"alloc8or","format":"text","body":"Old name: _IS_POSITION_INSIDE_VOLUME"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VOLUME/IS_POINT_IN_VOLUME","markdownUrl":"https://natives.borderlinerp.com/natives/VOLUME/IS_POINT_IN_VOLUME.md","snippets":{"lua":"local retval = IsPointInVolume(volume, x, y, z)","luaInvoke":"local retval = Citizen.InvokeNative(0xF256A75210C5C0EB, volume, x, y, z, Citizen.ReturnResultAnyway())","js":"const retval = IsPointInVolume(volume, x, y, z);","jsInvoke":"const retval = Citizen.invokeNative('0xF256A75210C5C0EB', volume, x + 0.0000001, y + 0.0000001, z + 0.0000001, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0xF256A75210C5C0EB, volume, 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."]}}