Player::rgscId: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "This property returns the player's Social club ID. '''Note: this property is read-only.''' {{JSContainer| == Getter == * {{RageType|string}} The player's Social club ID. ==...")
 
No edit summary
 
Line 1: Line 1:
__TOC__
This property returns the player's Social club ID.
This property returns the player's Social club ID.



Latest revision as of 12:24, 9 December 2019

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