Перейти к содержанию

GetPlayerSocialClubId

Материал из RAGE MP Wiki Archive

Gets the social club id from a player


<syntaxhighlight lang="csharp">string NAPI.Player.GetPlayerSocialClubId(Player player);</syntaxhighlight>

Parameters

  • player: parameter input should be in Player type


Example

<syntaxhighlight lang="csharp"> [Command("mysocialclub")] public void MySocialClubId(Player sender) {

   string socialclubid = NAPI.Player.GetPlayerSocialClubId(sender);
   sender.SendChatMessage("~g~Your social club id is: " + socialclubid);

} </syntaxhighlight>