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