# NETWORK::UGC_QUERY_GET_CONTENT_NUM

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

## Signature

```c
int UGC_QUERY_GET_CONTENT_NUM(int ugcRequestId);
```

## Parameters

- `ugcRequestId` (`int`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = UgcQueryGetContentNum(ugcRequestId)

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

### JavaScript

```js
const retval = UgcQueryGetContentNum(ugcRequestId);

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

### C#

```csharp
int retval = Function.Call<int>((Hash)0x76160E0396142765, ugcRequestId);
```

*Sources: alloc8or RDR3 NativeDB.*
