Volerix
Jumper
- Joined
- Jul 19, 2012
- Messages
- 8
- Reaction score
- 0
Hello, I have problem with that script:
When I kill monster, in console shows problem:
What should I do? :/
Code:
local storage = 5648
function onDeath(cid, corpse, deathList)
if isMonster(cid) then
if getCreatureMaster(cid) ~= cid then
doCreatureSetStorage(getCreatureMaster(cid), storageLol, os.time() + 10)
end
end
return true
end
When I kill monster, in console shows problem:
Code:
[Error- Creaturescript Interface]
data/creaturescripts/scripts/death.lua:onDeath
Description:
<luaDoCreatureSetStorage> Creature not found
What should I do? :/