Player::rgscId

From RAGE Multiplayer Wiki
Revision as of 12:24, 9 December 2019 by Unknown (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This property returns the player's Social club ID.

Note: this property is read-only.

JavaScript Syntax

Getter

  • string The player's Social club ID.

Example

Server-Side
mp.events.addCommand('scID', (player) => {
 let socialID = player.rgscId;
 player.outputChatBox("Your Social club ID is: " + socialID);
});


See Also