Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

GameKit.Score.Player

Queries the player identifier for the player that earned the score.

Component Version macOS Windows Linux Server iOS SDK
GameKit 8.5 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "GameKit.Score.Player"; ScoreIdentifier )   More

Parameters

Parameter Description Example
ScoreIdentifier The identifier for the score object.

Result

Returns player identifier or error.

Description

Queries the player identifier for the player that earned the score.
When you initialize a new score object, the player property is set to the identifier for the local player. If the score object was returned to your game by loading scores from Game Center, the player property identifies the player who recorded that score.

See also

This function is free to use.

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


GameKit.Score.New - GameKit.Score.Rank

💬 Ask a question or report a problem