if (player:GetPlayerClass() == "Warrior") then pUnit:GossipCreateMenu(105, player, 0) pUnit:GossipMenuAddItem(0, "Gear for Talent Spec: Arms", 101, 0) pUnit:GossipMenuAddItem(0, "Gear for Talent Spec: Fury", 102, 0) pUnit:GossipMenuAddItem(0, "Gear for Talent Spec: Protection", 103, 0) pUnit:GossipSendMenu(player) end if(player:GetPlayerClass() == "Paladin") then pUnit:GossipCreateMenu(999, player, 0) pUnit:GossipMenuAddItem(0, "Gear for Talent Spec: Holy", 104, 0) pUnit:GossipMenuAddItem(0, "Gear for Talent Spec: Protection", 105, 0) pUnit:GossipMenuAddItem(0, "Gear fot Talent Spec: Retribution", 106, 0) pUnit:GossipSendMenu(player)and so on with all the classes.
it doesn't work. When I would click a row such as: Gear fot Talent Spec Arms nothing happens. I also do not get any error in my world exe. Is it even possible to create a menu by difining it's class? If so, please tell me how to do it.















