darkmu
Well-Known Member
LUA:
function onAdvance(player, skill, oldLevel, newLevel)
Can I get no advanced checking skills like? In my case when the player moves up I wanted to advertise on the channel .. can someone help me?
TFS 1.3
function onAdvance(player, skill, oldLevel, newLevel)
sorry but I didn't understand what you wrote this time, but maybe something like this:
![]()
CreatureEvent - Points onAdvance LeveL + Auto Broadcast
{300, 10}--300 is level to recive points\10 is amount of points will be recived local t, storage = { {300, 10} }, 256 function onAdvance(cid, skill, oldLevel, newLevel) if skill ~= SKILL__LEVEL then return true end for i = 1, #t do local v = t[i]...otland.net
just remove the points part and use sendChannelMessage to send to a channel
You advanced sword fighting 51 to 52., he should be presented on the server channel.I wanted instead of using the callbacks of the onAdvanced function (newLevel, oldLevel) if I can use an onAdvanced callback (newSkill, oldSkill) .. because when he goes up in skillYou advanced sword fighting 51 to 52., he should be presented on the server channel.
just remove the points part and use sendChannelMessage to send to a channel