WoW:API IsRaidLeader: Difference between revisions
Jump to navigation
Jump to search
m (Remove singatures made using ~ in main namespace) |
No edit summary |
||
Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
isLeader = IsRaidLeader() | |||
Determines if the player is a raid leader himself. | |||
== Returns == | |||
:;isLeader:[[boolean]] - 1 if the player is the raid leader, otherwise nil | |||
== Example == | |||
if (IsRaidLeader()) | if (IsRaidLeader()) | ||
Line 16: | Line 17: | ||
end | end | ||
== Notes == | |||
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 | 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 19:51, 6 July 2007
← WoW API < IsRaidLeader
isLeader = IsRaidLeader()
Determines if the player is a raid leader himself.
Returns
- isLeader
- boolean - 1 if the player is the raid leader, otherwise nil
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
Notes
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