Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
function onUse(cid, item, fromPosition, itemEx, toPosition)
local pos = getPlayerPosition(cid)
local position = {{x=pos.x,y=pos.y-1,z=pos.z}}
local monstername = training monk
doSummonMonster(monstername, position[i])
end
local monstername = "training monk"
doSummonMonster(monstername, position[i])
would be like:
Code:
doSummonMonster("training monk", position[i])
when it should be:
Code:
doSummonMonster(training monk, position[i])
if im not misstaking.
(also maybe you can make it an "addEvent" where the monster only exist for a certain time to prevent mass spawning of hydra egg)
PS. You want the hydra egg to disappear on use? then use this script instead:
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local pos = getPlayerPosition(cid)
local position = {{x=pos.x,y=pos.y-1,z=pos.z}}
local monstername = training monk
doSummonMonster(monstername, position[i])
doRemoveItem(item.uid)
end