sm.player

Associated object type: Player

A player is a user playing the game. Every player controls a Character in the world.

Functions:

  • getAllPlayers

  • sm.player.getAllPlayers()

    Returns a table of all players that are currently in the game.

    Returns:

    TypeDescription
    tableTable of all players in the game. {Player, ..}