Raised This Month: $ Target: $400
 0% 

Show name users.ini


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 02-28-2013 , 12:02   Show name users.ini
Reply With Quote #1

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);
}
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode