Trigger API Reference\DCEI Functions\Multiplayer
string GetMultiplayerGamePlayerDisplayName(int idx)
string GetMultiplayerGamePlayerDisplayName(int idx)
Description
Return the display name for certain player. It is mostly your Funovus alias.
Parameters
- int
idx
the ID of the player to get the display name for.
Example Usage
local idx = DCEI.GetMultiplayerGamePlayerId(1)
local name = DCEI.GetMultiplayerGamePlayerDisplayName(idx)
DCEI.LogMessage(name)
int GetMultiplayerGamePlayerId(int idx)
int GetMultiplayerGamePlayerId(int idx)
Description
Get player id for a certain player.
Parameters
- int
idx
the in-game player index (1, 2, 3, etc.) of the player to get the server player ID.
Example Usage
local idx = DCEI.GetMultiplayerGamePlayerId(1)
local name = DCEI.GetMultiplayerGamePlayerDisplayName(idx)
DCEI.LogMessage(name)