witam mam blad z spellem
[Error - Spell Interface]
data/spells/scripts/custom/death strike ko.lua
nCastSpell
Description:
(luaAddEvent) Callback parameter should be a function.
Mam tfs 0.3.6pl1
mysle ze tutaj lezy problem
Tylko nie wiem jak go naprawic
[Error - Spell Interface]
data/spells/scripts/custom/death strike ko.lua
Description:
(luaAddEvent) Callback parameter should be a function.
Mam tfs 0.3.6pl1
mysle ze tutaj lezy problem
Code:
local param = {}
param.cid = cid
param.var = var
param.combat = distanceCombat
param.dist = 5
addEvent(jebGo, 400, param)
if getPlayerLevel(cid) > 20 then
addEvent(jebGo, 800, param)
end
if getPlayerLevel(cid) > 40 then
addEvent(jebGo, 1200, param)
end
if getPlayerLevel(cid) > 70 then
addEvent(jebGo, 1600, param)
end
if getPlayerLevel(cid) > 100 then
addEvent(jebGo, 2000, param)
end
setPlayerStorageValue(cid, 1567, os.time()+5)
end