viperous

Untitled

Jun 22nd, 2011
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.39 KB | None | 0 0
  1. private static Hashtable ITEM_GEM_DISPLAYNAME = new Hashtable(){
  2.             {<itemIDOfnormmoon>, "Normal MoonGem"},
  3.             {<itemIDOfrefmmoon>, "Refined MoonGem"},
  4.  
  5.         };
  6.  
  7.  
  8. //Then you can access that:
  9.  
  10. Client.Log(ITEM_GEM_DISPLAYNAME[<itemIDofNormMoonGem>]); // Will display Normal Moon Gem
  11.  
  12.  
  13. //You can use this hashtable for all your Gems and Items to set a Display Name :)
Advertisement
Add Comment
Please, Sign In to add comment