# PED::SPAWNPOINTS_GET_NUM_SEARCH_RESULTS

- **Hash:** `0xA635C11B8C44AFC2`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `SpawnpointsGetNumSearchResults`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/SPAWNPOINTS_GET_NUM_SEARCH_RESULTS

## Signature

```c
int SPAWNPOINTS_GET_NUM_SEARCH_RESULTS();
```

## Returns

`int`

## Usage

### Lua

```lua
local retval = SpawnpointsGetNumSearchResults()

-- always available, by hash
local retval = Citizen.InvokeNative(0xA635C11B8C44AFC2, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = SpawnpointsGetNumSearchResults();

// by hash
const retval = Citizen.invokeNative('0xA635C11B8C44AFC2', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xA635C11B8C44AFC2);
```

*Sources: alloc8or RDR3 NativeDB.*
