Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Creature* vendor = pCreature->FindNearestCreature(100093, 1000);
- char str[200];
- if(vendor)
- {
- pPlayer->GetSession()->SendListInventory(vendor->GetGUID());
- sprintf(str, "Vendor Window opened");
- }
- else{
- char str[200];
- sprintf(str, "Fehler. Creature null Pointer");
- }
- pCreature->MonsterSay(str, LANG_UNIVERSAL, pPlayer->GetGUID());
Add Comment
Please, Sign In to add comment