- Joined
- Jun 22, 2007
- Messages
- 276
- Reaction score
- 0
Hey ... I need help doing something ... ...
Here is my problem ... Im making a server and just got the Warper NPC done
... YAY! ... now I want to make an npc that can also do gossip ... but it must contain the lines "Give me my gear!!!" ... and then the NPC's code will add those items that are equivelent to his level ... So < 5 get noob gear ... >20 gets good gear ... >50 gets super gear ... >70 get's tele stone that leads to my super instance ... now Ive made all of that stuff ... but I dont know what the code is to add items to the inventory ...
I need something like this :
If you could help me with this I would be eternally greatfull to u but as u should know ... there is no script like
{Plr->AddItem()}
Thanx in advance
...
~MIZUKI~
Here is my problem ... Im making a server and just got the Warper NPC done

I need something like this :
Code:
case 1: // Noob gear Add
if(Plr->getLevel() < 5)
{
Plr->AddItem(Item_code);}
break;}
else
{
pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Your Not a Noob - U dont qualify" );
Plr->Gossip_Complete();
}break;
case 1: // Intermediat gear Add
if(Plr->getLevel() > 20)
{
Plr->AddItem(Item_code);}
break;}
else
{
pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Your Not Yet Ready To Wield These Weapans - Leve some more ..." );
Plr->Gossip_Complete();
}break;
{Plr->AddItem()}
Thanx in advance

~MIZUKI~