• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Prosze o pomoc z skryptem

Lolek

New Member
Joined
Sep 29, 2008
Messages
298
Reaction score
0
witam mam blad z spellem
[Error - Spell Interface]
data/spells/scripts/custom/death strike ko.lua:onCastSpell
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
Tylko nie wiem jak go naprawic
 
Debestia :D masz tam 3 takie same praktycznie spelle wystarczy zmienić ich wygląd i obrażenia. Oferowałem pomoc ale jak nie chciałeś :D
 
Nic nie odpisywalem bo wczoraj nie bylo mnie w poludnie dzisiaj przyjechalem rano a skoro widzialem ze chojrak dal ci mape no to po co mialem ci dawac 2 raz ;D?
 
Back
Top