Player::rgscId

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

This property returns the player's Social club ID.

Note: this property is read-only.

JavaScript Syntax
Jslogo.png

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