• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Display the nick

jestem pro

That is the question
Joined
Apr 20, 2013
Messages
650
Solutions
14
Reaction score
87
Hello, I wanna display player's nick, but don't know how.

For example this is for outfit name:
Lua:
local outfitCreatureBox = outfitWindow:getChildById('outfitCreatureBox')
  if outfitCreature then
    outfit = outfitCreature:getOutfit()
    outfitCreatureBox:setCreature(outfitCreature)
  else
    outfitCreatureBox:hide()
    outfitWindow:getChildById('outfitName'):hide()
    outfitWindow:getChildById('outfitNextButton'):hide()
    outfitWindow:getChildById('outfitPrevButton'):hide()
  end

I tried:
Lua:
  if nameCreature then
    name = nameCreature:getName()
  else
    outfitWindow:getChildById('nameShow'):hide()
    end

ofc It doesn't work.

So is it enough? (it's in game_outfit)

And where are these all functions listed? getOutfit, getMana etc??

Thanks
 
oh yeah they are here xddd

Thanks my teddy bear once again
 
Back
Top