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:
I tried:
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
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