void PlayerMenuUserInterface::processSelection(U32 index) { StringTableEntry e(menuItems[index].mText); GameConnection *gc = gClientGame->getConnectionToServer(); if(gc) gc->c2sAdminPlayerAction(e, action); gGameUserInterface.activate(); }