PlayerClient

arePlayerFlashingStarsAboutToDrop

ARE_PLAYER_FLASHING_STARS_ABOUT_TO_DROP0xAFAF86043E5874E9

The GTA V native ARE_PLAYER_FLASHING_STARS_ABOUT_TO_DROP of the PLAYER namespace, as LS:MP client scripts call it: the global function arePlayerFlashingStarsAboutToDrop, in JavaScript and in Lua.

SignatureJavaScript
arePlayerFlashingStarsAboutToDrop(player: Player): boolean
SignatureLua
arePlayerFlashingStarsAboutToDrop(player: Player): boolean

Usage

JavaScript
const result = arePlayerFlashingStarsAboutToDrop(player);
Lua
local result = arePlayerFlashingStarsAboutToDrop(player)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Player PLAYER
In the game
BOOL ARE_PLAYER_FLASHING_STARS_ABOUT_TO_DROP(Player player)
Hash
0xAFAF86043E5874E9

Open in the interactive natives reference