The Lab
NETWORK native

_UGC_QUERY_GET_LANGUAGE

returns int2 paramsbuild 1207

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

Signature

C
int _UGC_QUERY_GET_LANGUAGE(Any p0, int index); // 0x97764E8AC6487A9A b1207

Parameters

#NameType
1p0Any
2indexint

Facts

Facts about _UGC_QUERY_GET_LANGUAGE
Name
_UGC_QUERY_GET_LANGUAGE
Hash
0x97764E8AC6487A9A
Namespace
Returns
int
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(0x97764E8AC6487A9A, -- _UGC_QUERY_GET_LANGUAGE
  0, -- Any p0
  0, -- int index
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x97764E8AC6487A9A", // _UGC_QUERY_GET_LANGUAGE
  0, // Any p0
  0, // int index
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x97764E8AC6487A9A, // _UGC_QUERY_GET_LANGUAGE
  0, // Any p0
  0 // int index
);
All NETWORK natives

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