Player::rgscId

From RAGE Multiplayer Wiki

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