View Single Post
  #4  
Old 04-12-2004, 01:13 PM
Dave987
Discordant
 
Join Date: Jun 2003
Location: England
Posts: 267
Default

Ok , I'm no code guru , but after a longer and more thorough search, this has popped up on another post::

Quote:
Originally Posted by Bigpull
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);
Anyone know if that would work ? I know nothing about C++ , and don't have a compiler, so I'd like to know if it would work before taking it any further.

Thanks to bigpull!
__________________
;o)
Reply With Quote