- Joined
- May 23, 2010
- Messages
- 185
- Reaction score
- 23
I having some error in operate this script
The summon attack me, AND OTHER ERROR
when i say utevo res "Fire Devil, the monster don't attack the summon, attack me, but the fire devil follow me, not attack.
Code:
function onUse(cid, item, frompos, item2, topos)
pid = doSummonCreature("Demon", getThingPos(cid))
doConvinceCreature(cid, pid)
doSendMagicEffect(getThingPos(pid),13)
addEvent(doRemoveCreature, 1*60*1000, pid)
doRemoveItem(item.uid, 1)
end
The summon attack me, AND OTHER ERROR
when i say utevo res "Fire Devil, the monster don't attack the summon, attack me, but the fire devil follow me, not attack.