Friends/Guildmates in Cities error
View Single Post
02-22-14, 12:28 PM
A Deviate Faerie Dragon
Join Date: Apr 2010
i think a better way is the follow:
local pl, rn = UnitFullName ("player")
self.PlyrName = pl.."-"..rn
so it's faster, i think...
Returns the player's (unit's) name and server.
fullName, realm = UnitFullName("unit")
String - unitId to query; the only intended value is "player".
String - unit's name (with no realm suffix), e.g. "Shion".
String - unit's realm of origin, e.g. "TarrenMill", if different from the player's own, or no value if the same as the player's own realm (see Details).
This function is equivalent to UnitName if called with any other unitId than "player". When called with "player" as the argument, realm is always returned.
Last edited by DeaTHCorEKiD : 02-22-14 at
View Public Profile
Send a private message to DeaTHCorEKiD
Find More Posts by DeaTHCorEKiD