GameKit.AnonymousGuestPlayer
----------------------------

Creates a new guest player with the designated identifier.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GameKit](component_GameKit.md) | [8.5](newinversion85.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "GameKit.AnonymousGuestPlayer"; guestIdentifier ) 

**MBS**( **"GameKit.AnonymousGuestPlayer";** /\* Creates a new guest player with the designated identifier. \*/  
**$guestIdentifier**) /\* A developer created text used to identify the guest player.e.g. "OtherPlayer" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| guestIdentifier | A developer created text used to identify the guest player. | "OtherPlayer" |

### Result

Returns player identifier or error.

### Description

Creates a new guest player with the designated identifier.  
This method is used to create a new player object for a guest player. Treat the guest player the same as a authenticated user in regards to matchmaking services.  
This function is free to use.

Created 5th November 2018 , last changed 8th November 2018

  
[GameKit.AchievementDescription.UnachievedDescription](GameKitAchievementDescriptionUnachievedDescription.md) - [GameKit.Challenge.Achievement](GameKitChallengeAchievement.md)

[HTML Version](GameKitAnonymousGuestPlayer.shtml)