kaspertje100
Member
- Joined
- May 8, 2008
- Messages
- 236
- Reaction score
- 7
Hi guys please help me with my script:
So the problem is when the the massacre dies the stone doesn't remove? (and yes the pos and ID are correct) and it doesn't create the stone after 3 minutes again:S
I would rlly appreciatie some help with this script!
Yours,
Kasper
Code:
function onDeath(cid, corpse, deathList)
doRemoveItem(getTileItemById({x=1235, y=1173, z=12}, 1304).uid)
doCreatureSay(cid, "A huge stone have been removed, you have 3 minutes before the stone comes back!", TALKTYPE_ORANGE_1)
local s = getStorage(2)
doSetStorage(2, os.time() + 3 * 20)
if os.time() > s then
doCreateItem(1304, 1, {x = 1235, y = 1173, z = 12})
end
end
So the problem is when the the massacre dies the stone doesn't remove? (and yes the pos and ID are correct) and it doesn't create the stone after 3 minutes again:S
I would rlly appreciatie some help with this script!
Yours,
Kasper