RedM Natives

UGC_IS_LANGUAGE_SUPPORTED

Hash0xF53E48461B71EECB
Runtime nameUgcIsLanguageSupported
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xF53E48461B71EECB

Signature

BOOL UGC_IS_LANGUAGE_SUPPORTED(int languageId);

Parameters

NameTypeDescription
languageIdint—

Returns BOOL

Usage

Lua
local retval = UgcIsLanguageSupported(languageId)

-- always works, by hash
local retval = Citizen.InvokeNative(0xF53E48461B71EECB, languageId, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = UgcIsLanguageSupported(languageId);

// by hash
const retval = Citizen.invokeNative('0xF53E48461B71EECB', languageId, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xF53E48461B71EECB, languageId);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.