RedM Natives

_UITUTORIAL_SET_RPG_ICON_VISIBILITY

ICON_STAMINA, ICON_STAMINA_CORE, ICON_DEADEYE, ICON_DEADEYE_CORE, ICON_HEALTH, ICON_HEALTH_CORE, ICON_HORSE_HEALTH, ICON_HORSE_HEALTH_CORE, ICON_HORSE_STAMINA, ICON_HORSE_STAMINA_CORE, ICON_HORSE_COURAGE, ICON_HORSE_COURAGE_CORE ICON_VIS…

Hash0xC116E6DF68DCE667
Runtime nameUitutorialSetRpgIconVisibility
NamespaceUITUTORIAL
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _UITUTORIAL_SET_RPG_ICON_VISIBILITY(int rpgIcon, int visibility);

Parameters

NameTypeDescription
rpgIconint—
visibilityint—

Returns void

Description

enum eRpgIcons
{
	ICON_STAMINA,
	ICON_STAMINA_CORE,
	ICON_DEADEYE,
	ICON_DEADEYE_CORE,
	ICON_HEALTH,
	ICON_HEALTH_CORE,
	ICON_HORSE_HEALTH,
	ICON_HORSE_HEALTH_CORE,
	ICON_HORSE_STAMINA,
	ICON_HORSE_STAMINA_CORE,
	ICON_HORSE_COURAGE,
	ICON_HORSE_COURAGE_CORE
};
enum eRpgIconVisibility
{
	ICON_VISIBILITY_WAIT_TO_HIDE,
	ICON_VISIBILITY_ALWAYS_SHOW,
	ICON_VISIBILITY_ALWAYS_HIDE,
	ICON_VISIBILITY_ALWAYS_BLINK
};

Usage

Lua
UitutorialSetRpgIconVisibility(rpgIcon, visibility)

-- always works, by hash
Citizen.InvokeNative(0xC116E6DF68DCE667, rpgIcon, visibility)
JavaScript and C#
JavaScript
UitutorialSetRpgIconVisibility(rpgIcon, visibility);

// by hash
Citizen.invokeNative('0xC116E6DF68DCE667', rpgIcon, visibility);
C#
Function.Call((Hash)0xC116E6DF68DCE667, rpgIcon, visibility);
  • 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

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