Here's what I put together.. and it works. I can also make it say their in combat.
Code:
local race=player:GetPlayerRace()
if race==1 or race==3 or race==4 or race==7 or race==11 then
Can't use in combat:
Code:
if (player:IsInCombat() == true) then
player:SendAreaTriggerMessage("You are in combat, sorry!")
else
unit:GossipCreateMenu(3543, player, 0)
local race=player:GetPlayerRace()
if race==1 or race==3 or race==4 or race==7 or race==11 then
Also a Item:
Code:
if (player:IsInCombat() == true) then
player:SendAreaTriggerMessage("You are in combat, Sorry!")
else
item:GossipCreateMenu(3543, player, 0)
local race=player:GetPlayerRace()
if race==1 or race==3 or race==4 or race==7 or race==11 then
Bookmarks