{"hash":"0x280C7E3AC7F56E90","ns":"PED","name":"SPAWNPOINTS_GET_SEARCH_RESULT","slug":"SPAWNPOINTS_GET_SEARCH_RESULT","official":true,"named":true,"luaName":"SpawnpointsGetSearchResult","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"randomInt","type":"int"},{"name":"x","type":"float*"},{"name":"y","type":"Any*"},{"name":"z","type":"float*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x280C7E3AC7F56E90","gtaJhash":"0x36A4AC65","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PED/SPAWNPOINTS_GET_SEARCH_RESULT","markdownUrl":"https://natives.borderlinerp.com/natives/PED/SPAWNPOINTS_GET_SEARCH_RESULT.md","snippets":{"lua":"local x, y, z = SpawnpointsGetSearchResult(randomInt)","luaInvoke":"local x, y, z = Citizen.InvokeNative(0x280C7E3AC7F56E90, randomInt, Citizen.PointerValueFloat(), Citizen.PointerValueInt(), Citizen.PointerValueFloat())","js":"const [x, y, z] = SpawnpointsGetSearchResult(randomInt);","jsInvoke":"const [x, y, z] = Citizen.invokeNative('0x280C7E3AC7F56E90', randomInt, Citizen.pointerValueFloat(), Citizen.pointerValueInt(), Citizen.pointerValueFloat());","csharp":"var x = new OutputArgument();\nvar y = new OutputArgument();\nvar z = new OutputArgument();\nFunction.Call((Hash)0x280C7E3AC7F56E90, randomInt, x, y, z);\n// x.GetResult<float>()\n// y.GetResult<int>()\n// z.GetResult<float>()","notes":["Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.","`Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below."]}}