WoW:API UnitIsPlayer: Difference between revisions
Jump to navigation
Jump to search
(upgraded deprecated template) |
m (Robot: converting/fixing HTML) |
||
Line 8: | Line 8: | ||
;''Arguments'' | ;''Arguments'' | ||
: | :''[[API_TYPE_UnitId|UnitId]]'' | ||
---- | ---- | ||
;''Returns'' | ;''Returns'' | ||
: | :''True/False'' | ||
---- | ---- |
Revision as of 09:37, 20 January 2007
← WoW API < UnitIsPlayer
UnitIsPlayer(UnitId)
Determines if the unit is a player.
- Arguments
- Returns
- True/False
- Example
if (UnitIsPlayer(UnitId)) then --Do something here elseif (UnitIsPlayer(UnitId) ~= nil) then --Do something here end