Hello.
I was wondering if anyone know how to define the players name like the current client that is opening the conversation with the mob. I need this variable in order to give donators their items and priveliges / teleport to their island through a teleport stone or mob or anything like that.
I have tried this:
Code:
local name=pUnit:GetName()
if name=Admin then
blablablateleportcode
end
However, this does not work. So obviously that isn't the correct Variable. So if anyone could be kind enough to help me find the correct Variable that holds the playername, please post it.
Thank you.