NetworkClient

networkPlayerIsRockstarDev

NETWORK_PLAYER_IS_ROCKSTAR_DEV0x544ABDDA3B409B6D

The GTA V native NETWORK_PLAYER_IS_ROCKSTAR_DEV of the NETWORK namespace, as LS:MP client scripts call it: the global function networkPlayerIsRockstarDev, in JavaScript and in Lua.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Returns always false in Singleplayer.

No longer used for dev checks since first mods were released on PS3 & 360.
R* now checks with the isDlcPresent native for the dlc hash 2532323046,
if that is present it will unlock dev stuff.

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_PLAYER_IS_ROCKSTAR_DEV(Player player)
Hash
0x544ABDDA3B409B6D

Open in the interactive natives reference