_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…
Hash
0xC116E6DF68DCE667Runtime name
UitutorialSetRpgIconVisibilityNamespaceUITUTORIAL
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _UITUTORIAL_SET_RPG_ICON_VISIBILITY(int rpgIcon, int visibility);Parameters
| Name | Type | Description |
|---|---|---|
rpgIcon | int | — |
visibility | int | — |
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
UitutorialSetRpgIconVisibility(rpgIcon, visibility)
-- always works, by hash
Citizen.InvokeNative(0xC116E6DF68DCE667, rpgIcon, visibility)JavaScript and C#
UitutorialSetRpgIconVisibility(rpgIcon, visibility);
// by hash
Citizen.invokeNative('0xC116E6DF68DCE667', rpgIcon, visibility);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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.