hi guys
im well when menü click this function work:
player:ModifyHonorPoints(500)
loop in gettable
who is my error line ?? thx
im well when menü click this function work:
player:ModifyHonorPoints(500)
loop in gettable
Code:
elseif (intid == 400) then
player:GossipMenuAddItem(10, "2x 8000 Gold Baren = 60 Honor Points", 0, 452)
player:GossipSendMenu(1, creature)
elseif (intid == 452) then
if (player:HasItem(38186, 2, 1)) then
player:RemoveItem(38186, 2)
[COLOR="#00FF00"]player:ModifyHonorPoints(500)[/COLOR]
player:GossipSendMenu(1, creature)
player:CastSpell(player, 103740, true)
creature:SendUnitWhisper("|cffffffffTausch erfolgreich...", player)
player:SendNotification("|cffffffffTausch erfolgreich...")
player:GossipComplete()
else
creature:SendUnitWhisper("Sie sind nicht im besitz des 2x"..itemGoldbaren2x.." Items.", player)
player:SendNotification("Sie sind nicht im besitz des 2x"..itemGoldbaren2x.." Items.")
player:GossipComplete()
end
who is my error line ?? thx