FiveM Docs / Native Reference
API Set:
  • all
  • server
  • client
Language:
  • raw
  • lua
  • c#
  • js
Namespace: HUDAPI set: clientGame: gta5editImprove

GET_GLOBAL_ACTIONSCRIPT_FLAG

0xE3B05614DCE1D014
0xD217EE7E
// GetGlobalActionscriptFlag
int GET_GLOBAL_ACTIONSCRIPT_FLAG(int flagIndex);
Returns the ActionScript flagValue.
ActionScript flags are global flags that scaleforms use
Flags found during testing
0: Returns 1 if the web_browser keyboard is open, otherwise 0
1: Returns 1 if the player has clicked back twice on the opening page, otherwise 0 (web_browser)
2: Returns how many links the player has clicked in the web_browser scaleform, returns 0 when the browser gets closed
9: Returns the current selection on the mobile phone scaleform
There are 20 flags in total.
Privacy
•
Cookie Policy
•
Cookie Settings
FORCE_CLOSE_REPORTUGC_MENU()
FORCE_CLOSE_TEXT_INPUT_BOX()
FORCE_SONAR_BLIPS_THIS_FRAME()
_GET_AI_BLIP(Ped ped)
_GET_AI_BLIP_2(Ped ped)
GET_BLIP_ALPHA(Blip blip)
GET_BLIP_COLOUR(Blip blip)
GET_BLIP_COORDS(Blip blip)
GET_BLIP_FROM_ENTITY(Entity entity)
GET_BLIP_HUD_COLOUR(Blip blip)
GET_BLIP_INFO_ID_COORD(Blip blip)
GET_BLIP_INFO_ID_DISPLAY(Blip blip)
GET_BLIP_INFO_ID_ENTITY_INDEX(Blip blip)
GET_BLIP_INFO_ID_PICKUP_INDEX(Blip blip)
GET_BLIP_INFO_ID_TYPE(Blip blip)
_GET_BLIP_ROTATION(Blip blip)
GET_BLIP_SPRITE(Blip blip)
_GET_CLOSEST_BLIP_OF_TYPE(int blipSprite)
GET_CURRENT_FRONTEND_MENU_VERSION()
GET_CURRENT_WEBPAGE_ID()
GET_CURRENT_WEBSITE_ID()
GET_DEFAULT_SCRIPT_RENDERTARGET_RENDER_ID()
GET_FILENAME_FOR_AUDIO_CONVERSATION(char* labelName)
GET_FIRST_BLIP_INFO_ID(int blipSprite)
GET_GLOBAL_ACTIONSCRIPT_FLAG(int flagIndex)
GET_HUD_COLOUR(int hudColorIndex, int* r, int* g, int* b, int* a)
GET_HUD_COMPONENT_POSITION(int id)
GET_HUD_SCREEN_POSITION_FROM_WORLD_POSITION(float worldX, float worldY, float worldZ, float* screenX, float* screenY)
GET_LENGTH_OF_LITERAL_STRING(char* string)
GET_LENGTH_OF_LITERAL_STRING_IN_BYTES(char* string)
GET_LENGTH_OF_STRING_WITH_THIS_TEXT_LABEL(char* gxt)
GET_MAIN_PLAYER_BLIP_ID()
GET_MENU_PED_BOOL_STAT(Hash p0, Any* p1)
GET_MENU_PED_FLOAT_STAT(Any p0, float* p1)
GET_MENU_PED_INT_STAT(Any p0, Any* p1)