WoW:API IsRaidLeader: Difference between revisions
Jump to navigation
Jump to search
(upgraded deprecated template) |
m (Remove singatures made using ~ in main namespace) |
||
| Line 18: | Line 18: | ||
'''Alternative''' | '''Alternative''' | ||
Chances are you came to this function looking for a rank check system for your raid, this function will probably not cut it however [ | Chances are you came to this function looking for a rank check system for your raid, this function will probably not cut it however [[API_GetRaidRosterInfo|GetRaidRosterInfo()]] can handle this | ||
Revision as of 06:34, 10 February 2007
← WoW API < IsRaidLeader
IsRaidLeader()
Usage
IsRaidLeader()
Will return 1 if the player is the raid leader. Will return nil if the player is not the raid leader.
Example
if (IsRaidLeader())
DEFAULT_CHAT_FRAME:AddMessage ("I am the Raid Leader.");
elseif not (IsRaidLeader())
DEFAULT_CHAT_FRAME:AddMessage ("I am not the Raid Leader.");
end
Alternative
Chances are you came to this function looking for a rank check system for your raid, this function will probably not cut it however GetRaidRosterInfo() can handle this