This shows the Steamid in Users.ini
but i want to show Name to can i some how do that?
Code:
public cmdAdminRemove(id)
{
static iMenu;
iMenu = menu_create("\r[%s]\y Admin Menu - v2.0\r by SnusMumrikeN^n\y- Remove Admin", "RemoveMenuHandler");
static sBuffer[128], sTempItem[128];
static sTemp[4][STR_LEN];
static iFileP;
iFileP = fopen(gAdminsFile, "rt");
while(!feof(iFileP))
{
fgets(iFileP, sBuffer, sizeof sBuffer - 1);
if((strlen(sBuffer) < 3) || sBuffer[0] == ';')
continue;
parse(sBuffer, sTemp[0], sizeof sTemp[] - 1, sTemp[1], sizeof sTemp[] - 1, sTemp[2], sizeof sTemp[] - 1, sTemp[3], sizeof sTemp[] - 1);
for(new j = 0 ; j < sizeof sTemp ; j++)
{
remove_quotes(sTemp[j]);
}
formatex(sTempItem, sizeof sTempItem - 1, "\w%s\r|\w%s\r|\w%s\r|\w%s\r", sTemp[0], sTemp[1], sTemp[2], sTemp[3]);
menu_additem(iMenu, sTempItem, "", 0, -1);
}
fclose(iFileP);
menu_addblank(iMenu, 0);
menu_display(id, iMenu, 0);
}
__________________