How do I remove a criature using doRemoveCriature(cid)?
Im trying some ways but keep saying creature not found etc... Here is what im trying:
thanks
Im trying some ways but keep saying creature not found etc... Here is what im trying:
Code:
function onThink()
donotSummon = 0
if (START == TRUE) then
if os.difftime (os.time(), osTime) == (2) then
if getCreaturePosition(cid) == {x=114,y=503,z=8} then
doRemoveCreature(cid)
end
end
end
end