{"hash":"0x5E71E72A94985214","ns":"NETWORK","name":"GET_RESERVED_MISSION_ENTITIES_IN_AREA","slug":"GET_RESERVED_MISSION_ENTITIES_IN_AREA","official":true,"named":true,"luaName":"GetReservedMissionEntitiesInArea","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"p3","type":"BOOL"},{"name":"peds","type":"int*"},{"name":"vehicles","type":"int*"},{"name":"objects","type":"int*"},{"name":"pickups","type":"int*"}],"summary":"Used in Script Function NET_ACE_CLIENT_VERIFY_ENTITY_RESERVATIONS Old name: _GET_RESERVATIONS_FOR_SLOT_WORLD_POSITION","descriptions":[{"source":"alloc8or","format":"text","body":"Used in Script Function NET_ACE_CLIENT_VERIFY_ENTITY_RESERVATIONS\nCoords: Slot world position\n\nOld name: _GET_RESERVATIONS_FOR_SLOT_WORLD_POSITION"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xE42D626EEC94E5D9","gtaJhash":"","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/NETWORK/GET_RESERVED_MISSION_ENTITIES_IN_AREA","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/GET_RESERVED_MISSION_ENTITIES_IN_AREA.md","snippets":{"lua":"local peds, vehicles, objects, pickups = GetReservedMissionEntitiesInArea(x, y, z, p3)","luaInvoke":"local peds, vehicles, objects, pickups = Citizen.InvokeNative(0x5E71E72A94985214, x, y, z, p3, Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt())","js":"const [peds, vehicles, objects, pickups] = GetReservedMissionEntitiesInArea(x, y, z, p3);","jsInvoke":"const [peds, vehicles, objects, pickups] = Citizen.invokeNative('0x5E71E72A94985214', x + 0.0000001, y + 0.0000001, z + 0.0000001, p3, Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.pointerValueInt());","csharp":"var peds = new OutputArgument();\nvar vehicles = new OutputArgument();\nvar objects = new OutputArgument();\nvar pickups = new OutputArgument();\nFunction.Call((Hash)0x5E71E72A94985214, x, y, z, p3, peds, vehicles, objects, pickups);\n// peds.GetResult<int>()\n// vehicles.GetResult<int>()\n// objects.GetResult<int>()\n// pickups.GetResult<int>()","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.","Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order."]}}