michael
New Member
I'm starting to learn lua scripting but im stuck with the remove creature function, this is what I got so far but I get a console error luadoremovecreate<>. Creature not found
who can tell me what I'm doing wrong
Code:
if item.actionid == 1037 and isPlayer(cid) == 1 then
monsterpos1 = {x=1136, y=704, z=7, stackpos=253}
creature = getThingfromPos(monsterpos1)
doRemoveCreature(creature,uid)
end
who can tell me what I'm doing wrong