View Single Post
  #5  
Old 07-11-2003, 10:55 PM
Bigpull
Discordant
 
Join Date: Feb 2003
Posts: 305
Default

client.h:
void SummonItem(uint16 item_id, int8 charges = 0, bool gm_overide = false)


client.cpp:
void Client::SummonItem(uint16 item_id, int8 charges, bool gm_overide)
....
// Checking to see if it is a GM only Item or not.
if ((item->IsGM() && this->Admin() < 100) && !gm_overide)
foundgm = 1;

parser.cpp:
mob->CastToClient()->SummonItem(atoi(arglist[0]),0,true);
Reply With Quote