WoW:API IsGuildLeader: Difference between revisions

This article was poorly written....
m (New page: This function is used to determine if a player is the guild leader. There is a required variable. The variable is the a players name. When the function is run it will return a boolean re...)
 
(This article was poorly written....)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__
Returns the a boolean value.
  guildmaster = IsGuildMaster("PlayerName")
  TrueFalse = IsGuildLeader("PlayerName");
This function checks to see if 'PlayerName' is the guild master of a guild and returns the appropriate result.


==Parameters==
==Parameters==
===Arguments===
===Arguments===
:;PlayerName : Boolean - Player to check for guild master status?
:;PlayerName : String - The name of the player you are checking.
===Returns===
===Returns===
:;TrueFalse : True is person is Guild Master, False if they are not.
:;guildmaster : True if this person is a guild master, otherwise false.


==Example==
==Example==
Anonymous user