{"hash":"0xF14BCEF290F869E1","ns":"VOLUME","name":"REQUEST_VOLUME_LOCK","slug":"REQUEST_VOLUME_LOCK","official":true,"named":true,"luaName":"RequestVolumeLock","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"radius","type":"float"},{"name":"p4","type":"int"},{"name":"p5","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":["0x00BBF7CEAE8C666A"],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/VOLUME/REQUEST_VOLUME_LOCK","markdownUrl":"https://natives.borderlinerp.com/natives/VOLUME/REQUEST_VOLUME_LOCK.md","snippets":{"lua":"local retval = RequestVolumeLock(x, y, z, radius, p4, p5)","luaInvoke":"local retval = Citizen.InvokeNative(0xF14BCEF290F869E1, x, y, z, radius, p4, p5, Citizen.ResultAsInteger())","js":"const retval = RequestVolumeLock(x, y, z, radius, p4, p5);","jsInvoke":"const retval = Citizen.invokeNative('0xF14BCEF290F869E1', x + 0.0000001, y + 0.0000001, z + 0.0000001, radius + 0.0000001, p4, p5, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xF14BCEF290F869E1, x, y, z, radius, p4, p5);","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."]}}