Category: Network
/ League
Since engine version: 5.0 OC
GetLeagueScore
Description
Returns the league score of the given player. This function can be used for custom scoring e.g. in competition leagues.
Syntax
int GetLeagueScore(int player_id);
Parameter
- player_id:
- [opt] ID of player whose score shall shall be returned.
Remark
Use GetPlayerID() to get the ID of a joined player.
See also: GetLeagueProgressData, SetLeaguePerformance