--- title: highScore description: Game highscore image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: highScore [Back to constructors index](index.md) Game highscore ### Attributes: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |pos|[int](../types/int.md) | Yes|Position in highscore list| |user\_id|[int](../types/int.md) | Yes|User ID| |score|[int](../types/int.md) | Yes|Score| ### Type: [HighScore](../types/HighScore.md) ### Example: ```php $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int]; ``` Or, if you're into Lua: ```lua highScore={_='highScore', pos=int, user_id=int, score=int} ```