Find on forum example of code and wanted to test it. Well 75002 is gossip entry, and 75006 is npc vendor flaged entry. But When I click Test nothing happen and no error's show. Where seems to be a problem ?
local vendorEntry = 75002
function vendorGossipHello(event, player, creature)
player:GossipMenuAddItem(0, "Test",0, 75006)
function vendorGossipSelect(event, player, creature, sender, intid, code)
RegisterCreatureGossipEvent(vendorEntry, 1, vendorGossipHello)
RegisterCreatureGossipEvent(vendorEntry, 2, vendorGossipSelect)