# NETWORK::_UGC_QUERY_GET_RATING

- **Hash:** `0x24CD8FAEA1368379`
- **Namespace:** NETWORK
- **Runtime name (Lua/JS):** `UgcQueryGetRating`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/NETWORK/_UGC_QUERY_GET_RATING

## Signature

```c
float _UGC_QUERY_GET_RATING(Any p0, int index, int p2);
```

## Parameters

- `p0` (`Any`)
- `index` (`int`)
- `p2` (`int`)

## Returns

`float`

## Usage

### Lua

```lua
local retval = UgcQueryGetRating(p0, index, p2)

-- always available, by hash
local retval = Citizen.InvokeNative(0x24CD8FAEA1368379, p0, index, p2, Citizen.ResultAsFloat())
```

### JavaScript

```js
const retval = UgcQueryGetRating(p0, index, p2);

// by hash
const retval = Citizen.invokeNative('0x24CD8FAEA1368379', p0, index, p2, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
```

### C#

```csharp
float retval = Function.Call<float>((Hash)0x24CD8FAEA1368379, p0, index, p2);
```

- 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.

*Sources: alloc8or RDR3 NativeDB.*
