• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

need small help please in this script

3AsFoR

New Member
Joined
Jan 18, 2015
Messages
41
Reaction score
0
Location
Egypt
i need script that i use certain item to respawn monster to kill and get exp from it
i have this but didn't work . my ot is 8.1 client and i use aries 0.4.0 engine to run ot .
local monster = "Marid"

function onUse (cid, item, fromPosition, itemEx, toPosition)
doSummonMonster (cid, monster)
return true
end
 
It's good that you told us what distro you were using and gave us your script but next time put it in
Code:
[code=Lua]
[/code]
It would also help if you gave us some more information, why doesn't it work? what error do you get? what else do you want it to do?
It seems you aren't using doSummonMonster(name, pos) properly, what you need is
Lua:
    doSummonMonster(monster, fromPosition)
also, I don't think is exactly the right place to ask for help
good luck
 
Back
Top