Obsdark
Member
- Joined
- Sep 25, 2011
- Messages
- 213
- Reaction score
- 9
¡¡¡Hey Oh!!!
I'm Making one script who makes each time you kill some tipe of undeads, after some seconds them body's stays in the ground, the body's dissapeard and two of that kind of undead are summon/created instead (the body).
i'm not sure if i'm making it right, it keeps sending me over and over again "error in line 26" which is:
Can you check it a little bit and tell me what's going on with him?, i really apreciate it
¡Bless, Cheers and Happines!
(Y)(Y)
-Obsdark-
I'm Making one script who makes each time you kill some tipe of undeads, after some seconds them body's stays in the ground, the body's dissapeard and two of that kind of undead are summon/created instead (the body).
i'm not sure if i'm making it right, it keeps sending me over and over again "error in line 26" which is:
LUA:
local r = t(moveitem.id)
Can you check it a little bit and tell me what's going on with him?, i really apreciate it
LUA:
local t = {
[2853] = "Ghoul",
[2854] = "Ghoul",
[9654] = "Vampire Bride",
[9658] = "Vampire Bride",
[9659] = "Vampire Bride",
[2956] = "Vampire",
[2957] = "Vampire",
[2949] = "mummy",
[2950] = "mummy",
[2951] = "mummy",
[3025] = "lich",
[3026] = "lich",
[2998] = "Banshee",
[2999] = "Banshee",
[3000] = "Banshee",
[9876] = "Zombie",
[9877] = "Zombie",
[8956] = "Grim Reaper",
[8957] = "Grim Reaper",
[6355] = "Blightwalker"
}
local m = {
tm = 10
}
local r = t(moveitem.id)
local function RemoveCorpse()
if moveitem.itemid == t then
doRemoveItem(t, 1)
doSummonCreature(t.monster, pos)
doSummonCreature(t.monster, pos)
doSendMagicEffect(topos,12)
end
end
function onAddItem(cid, moveitem, tileitem, position)
if getTilePzInfo(t) == 0 then
addEvent(RemoveCorpse, m.tm, t)
end
return 1
end
¡Bless, Cheers and Happines!
(Y)(Y)
-Obsdark-