Zonet
Web Developer
i dont got a server with globalevents can u guys give me one?
omg
http://otland.net -> register -> login -> forum -> downloads -> distributions -> [8.41/42] The Forgotten Server 0.3.4 pl2.
i dont got a server with globalevents can u guys give me one?
for type, variable in pairs(config) do
if skill == type then
doCreatureSay(cid, ""..variable[1].." ["..newlevel.."]", TALKTYPE_ORANGE_1)
doCreatureSay(cid, config[skill][1] .. " ["..newlevel.."]", TALKTYPE_ORANGE_1)
If u make it more serious like
That would be cool xD
Could anyone change the magic effect to something cooler ?.
With holy animations please
I sux at this
-Script made by Pitufo/Haifurer!
local config = {
[0] = { "Fist skill UP", 30}, -- [B]30[/B] = variable[2] -- Animation effect
[1] = { "Club skill UP", 30}, -- [B]30[/B] = variable[2] -- Animation effect
[2] = { "Sword skill UP", 30}, -- [B]30[/B] = variable[2] -- Animation effect
[3] = { "Axe skill UP", 30}, -- [B]30[/B] = variable[2] -- Animation effect
[4] = { "Distance skill UP", 30}, -- [B]30[/B] = variable[2] -- Animation effect
[5] = { "Shield skill UP", 30}, -- [B]30[/B] = variable[2] -- Animation effect
[6] = { "Fishing skill UP", 30}, -- [B]30[/B] = variable[2] -- Animation effect
[7] = { "Magic level UP", 30}, -- [B]30[/B] = variable[2] -- Animation effect
[8] = { "Level UP", 30} -- [B]30[/B] = variable[2] -- Animation effect
}
function onAdvance(cid, skill, oldlevel, newlevel)
local pos = getPlayerPosition(cid)
local positions = {
{x=pos.x+1,y=pos.y-1,z=pos.z},
{x=pos.x-1,y=pos.y-1,z=pos.z},
{x=pos.x+1,y=pos.y+1,z=pos.z},
{x=pos.x-1,y=pos.y+1,z=pos.z},
{x=pos.x+1,y=pos.y,z=pos.z},
{x=pos.x-1,y=pos.y,z=pos.z},
{x=pos.x,y=pos.y+1,z=pos.z},
{x=pos.x,y=pos.y-1,z=pos.z}}
for type, variable in pairs(config) do
if skill == type then
doCreatureSay(cid, ""..variable[1].." ["..newlevel.."]", TALKTYPE_ORANGE_1)
for i = 1, table.maxn(positions) do
doSendMagicEffect(positions[i],variable[2])
end
end
end
return TRUE
end
is it possible to turn off the advance message and add this one (without effect) to tfs 0.3.5pl1??:huh:
please answer...:thumbup: