Acubens
Old Penguin
Hello!! I have 1 question, Mystic Spirit dont support that function with Players online?
check my script, i want send advance msg to my channel "advances" but dont work this is my script,
error:
check my script, i want send advance msg to my channel "advances" but dont work this is my script,
LUA:
function onAdvance(cid, skill, oldlevel, newlevel)
for _, pid in ipairs(getOnlinePlayers()) do
if skill == SKILL_LEVEL and oldlevel < getPlayerLevel(cid)+1 and newlevel > getPlayerLevel(cid)-1 then
doPlayerSendChannelMessage(pid, "Ok:", "Player name up from "..oldlevel.." to "..getPlayerLevel(cid)..".", TALKTYPE_CHANNEL_O, 9)
end
end
end
error:
LUA:
luaDoPlayerSendChannelMessage(). Condition not found