The Lab
NETWORK native

_UGC_QUERY_GET_RATING

returns float3 paramsbuild 1207

Returns the rating of the content at index in the query results.

Signature

C
float _UGC_QUERY_GET_RATING(Any p0, int index, int p2); // 0x24CD8FAEA1368379 b1207

Parameters

#NameType
1p0Any
2indexint
3p2int

Facts

Facts about _UGC_QUERY_GET_RATING
Name
_UGC_QUERY_GET_RATING
Hash
0x24CD8FAEA1368379
Namespace
Returns
float
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x24CD8FAEA1368379, -- _UGC_QUERY_GET_RATING
  0, -- Any p0
  0, -- int index
  0, -- int p2
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x24CD8FAEA1368379", // _UGC_QUERY_GET_RATING
  0, // Any p0
  0, // int index
  0, // int p2
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0x24CD8FAEA1368379, // _UGC_QUERY_GET_RATING
  0, // Any p0
  0, // int index
  0 // int p2
);
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.