getBlipFadeDirection
GET_BLIP_FADE_DIRECTION0x2C173AE2BDB9385EThe GTA V native GET_BLIP_FADE_DIRECTION of the HUD namespace, as LS:MP client scripts call it: the global function getBlipFadeDirection, in JavaScript and in Lua.
getBlipFadeDirection(blip: Blip): numbergetBlipFadeDirection(blip: Blip): integerUsage
JavaScript
const result = getBlipFadeDirection(blip);Lua
local result = getBlipFadeDirection(blip)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
blip | Blip | number | integer |
Returns
int JavaScript number, Lua integerNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns -1, 0, +1, depending on if the blip is fading out, doing nothing, or fading in respectively.
Reference
- Namespace
- HUD HUD
- In the game
int GET_BLIP_FADE_DIRECTION(Blip blip)- Hash
0x2C173AE2BDB9385E- Introduced
- Game build 463 legacy numbering
- Formerly
_GET_BLIP_FADE_STATUS