function SBGUIPlayerJoined(%msgType, %msgString, %clientName,
%clientId, %guid, %score, %kills,
%deaths, %isAI, %isAdmin, %isSuperAdmin)
{
ScoreBoardGUI.addPlayer(%clientId, %clientName, 0, %kills, deaths);
}
function SBGUIPlayerLeft(%msgType, %msgString, %clientName, %clientId)
{
ScoreBoardGUI.removePlayer(%clientId);
}
function SBGUIScoreChanged(%msgType, %msgString, %clientName,
%kills, %deaths, %clientId)
{
ScoreBoardGUI.updatePlayer(%clientId, "null", %kills, %deaths);
}
function SBGUICoinPickup(%msgType, %msgString, %clientName,
%clientId, %score, %kills, %deaths)
{
ScoreBoardGUI.updatePlayer(%clientId, %score, %kills, %deaths);
}