Lua GetGuildLeader

From ArcEmu-Wiki
Jump to: navigation, search
function npc_OnGossip(pUnit, event, player)
 if player:GetGuildLeader() == player:GetName() then
  -- do something
 else
  -- do whatever if the player is NOT guild leader of a guild
 end
end
Personal tools