MPPlayersCollection

API: MPPlayersCollection #

Inherits: MPBase

Collection of players

Properties #

Type Name Default
Dictionary players

Methods #

Returns Type Syntax
despawn_node_all ( )
MPPlayer get_player_by_id ( )
MPPlayer get_player_by_index ( )
Dictionary get_players ( )
respawn_node_all ( )
spawn_node_all ( )

Property Descriptions #

Dictionary players

  • Default: <unknown>

Dictionary containing [MPPlayer]


Method Descriptions #

despawn_node_all ( )

Despawn all player’s node


MPPlayer get_player_by_id ( )

Get player by ID


MPPlayer get_player_by_index ( )

Get player by index


Dictionary get_players ( )

Get all players


respawn_node_all ( )

Respawn all player’s node


spawn_node_all ( )

Spawn all player’s node