GetPlayerSocialClubId

From RAGE Multiplayer Wiki
Revision as of 21:50, 22 December 2022 by Xabi (talk | contribs)

Gets the social club id from a player


C# Syntax

string NAPI.Player.GetPlayerSocialClubId(Player player);

Parameters

  • player: parameter input should be in Player type


Example

[Command("mysocialclub")]
public void MySocialClubId(Client sender)
{
    string socialclubid = NAPI.Player.GetPlayerSocialClubId(sender);
    sender.SendChatMessage("~g~Your social club id is: " + socialclubid);
}