Guest User

Untitled

a guest
Mar 14th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. Creature* vendor = pCreature->FindNearestCreature(100093, 1000);
  2. char str[200];
  3. if(vendor)
  4. {
  5. pPlayer->GetSession()->SendListInventory(vendor->GetGUID());
  6. sprintf(str, "Vendor Window opened");
  7.  
  8. }
  9. else{
  10. char str[200];
  11. sprintf(str, "Fehler. Creature null Pointer");
  12. }
  13. pCreature->MonsterSay(str, LANG_UNIVERSAL, pPlayer->GetGUID());
Add Comment
Please, Sign In to add comment