darckx2010
New Member
- Joined
- Mar 22, 2010
- Messages
- 6
- Reaction score
- 0
Hallo
I am making a skill bar but I'm having a SMALL setback, the skill will be normal when I put it upo not updated , so update when I relogo Any suggestion???
Cliente Lua
Server creaturescript
I am making a skill bar but I'm having a SMALL setback, the skill will be normal when I put it upo not updated , so update when I relogo Any suggestion???
Cliente Lua
Code:
function skillsn(protocol, opcode, buffer)
local balanceLabel = tutorialWindow:getChildById('MiningSkill'):getChildById('skillatual')
balanceLabel:setText(formatNumbers(buffer))
end
Server creaturescript
Code:
function onExtendedOpcode(player, opcode, buffer)
local skillsn = getPlayerStorageValue(player, 15000)
player:sendExtendedOpcode(54, skillsn)
return true
end