• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How does doRemoveCreature works?

Status
Not open for further replies.

michael

New Member
Joined
Jun 2, 2007
Messages
122
Reaction score
0
Location
Netherlands
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

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
 
Status
Not open for further replies.
Back
Top