set Score
Set the game score for a player to this amount.
info.setScore(0)
Your program has a score counter which you can set to record the current score for a game player.
Parameters
- score: a number to set the current score to.
Example
Give the player 110
points to before starting the game.
Single player
info.setScore(110)
Multiplayer
info.player2.setScore(110)