▦GMDB Developer ManualGameMaker SDK documentation
AdvertisementAdvertising space

gmdb_mp_room_full

Checks whether the current multiplayer room contains the required number of players.

Syntax

gmdb_mp_room_full();

Arguments

No arguments

Return value / result

True
False

GameMaker example

var _required = gmdb_mp_room_required_players();
var _joined = gmdb_mp_player_count();

show_debug_message(
    "Waiting for players: " +
    string(_joined) + "/" + string(_required)
);