Player::socialClub: Difference between revisions

From RAGE Multiplayer Wiki
m (category)
m (category)
 
Line 2: Line 2:


'''Note: this property is read-only.'''
'''Note: this property is read-only.'''
== Getter ==
* {{RageType|String}} Rockstar Social Club player name


== Example ==
== Example ==
Line 17: Line 20:




[[Category:Player]]
[[Category:Player API]]
[[Category:Server-side Property]]
[[Category:Server-side Property]]

Latest revision as of 17:04, 17 May 2019

This property returns players social club name.

Note: this property is read-only.

Getter

  • String Rockstar Social Club player name

Example

Show socialClub

Server-Side
mp.events.add('playerJoin', player => {
    console.log(`[SERVER]: SocialClub: ${player.socialClub}`);
});

See Also