PlayerClient

arePlayerStarsGreyedOut

ARE_PLAYER_STARS_GREYED_OUT0x0A6EB355EE14A2DB

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Player PLAYER
In the game
BOOL ARE_PLAYER_STARS_GREYED_OUT(Player player)
Hash
0x0A6EB355EE14A2DB

Open in the interactive natives reference