Hi,
Here script.I think you try it.Working Perfectly.
Credits:Marcinek Paladinek,Kokorec
creaturescripts>scripts>effect.lua
creaturescripts.xml
Thanks.
Here script.I think you try it.Working Perfectly.
Credits:Marcinek Paladinek,Kokorec
creaturescripts>scripts>effect.lua
Code:
local config = {
effectType = [COLOR="Red"]29[/COLOR],
effectPos = { x = [COLOR="Red"]703[/COLOR], y = [COLOR="Red"]600[/COLOR], z = [COLOR="Red"]7[/COLOR] },
started = FALSE
}
local function goGoGoEffect(pos, effect)
doSendMagicEffect(pos, effect)
addEvent(goGoGoEffect, 200, pos, effect)
return TRUE
end
function onLogin(cid)
if config.started == FALSE then
config.started = TRUE
goGoGoEffect(config.effectPos, config.effectType)
end
return TRUE
end
creaturescripts.xml
Code:
<event type="login" name="effect" script="effect.lua"/>
Thanks.