NetworkClient

networkHasValidRosCredentials

NETWORK_HAS_VALID_ROS_CREDENTIALS0x85443FF4C328F53B

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

SignatureJavaScript
networkHasValidRosCredentials(): boolean
SignatureLua
networkHasValidRosCredentials(): boolean

Usage

JavaScript
const result = networkHasValidRosCredentials();
Lua
local result = networkHasValidRosCredentials()

Parameters

None.

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 whether the signed-in user has valid Rockstar Online Services (ROS) credentials.

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_HAS_VALID_ROS_CREDENTIALS()
Hash
0x85443FF4C328F53B
Formerly
_NETWORK_ARE_ROS_AVAILABLE NETWORK_HAVE_JUST_UPLOAD_LATER

Open in the interactive natives reference