Player::socialClub: Difference between revisions

From RAGE Multiplayer Wiki
(Add example)
m (category)
Line 15: Line 15:
==See Also==
==See Also==
{{Player_block}}
{{Player_block}}
[[Category:Player]]
[[Category:Server-side Property]]

Revision as of 13:00, 30 April 2019

This property returns players social club name.

Note: this property is read-only.

Example

Show socialClub

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

See Also