▦GMDB Developer ManualGameMaker SDK documentation
AdvertisementAdvertising space

gmdb_mp_player_id

Returns the current multiplayer player identifier. Verify this description against the SDK before publishing.

Syntax

gmdb_mp_player_id(Syntax: gmdb_mp_player_id();

No declared parameters. Verify whether the function depends on prior SDK initialisation.);

Arguments

Syntax: gmdb_mp_player_id();

No declared parameters. Verify whether the function depends on prior SDK initialisation.

Return value / result

Player identifier when available.

GameMaker example

// Example from the existing function catalogue; verify before publishing.
var _id = gmdb_mp_player_id();

Details

REVIEW CHECKLIST
- Confirm purpose and whether intended for public use
- Confirm argument types and valid values
- Confirm return values and asynchronous behaviour
- Test the example in GameMaker
- Check any required Create / Step / Async event setup

SDK source: SDK_TANKS_HTML/scripts/gmdb_mp_api/gmdb_mp_api.gml

SDK source

SDK_TANKS_HTML/scripts/gmdb_mp_api/gmdb_mp_api.gml