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!
[22/09/2013 00:24:47] [Error - LuaScriptInterface::loadFile] data/actions/scripts/ForeverFood.lua:6: 'end' expected (to close 'if' at line 2) near 'doPlayerFeed'
[22/09/2013 00:24:47] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/ForeverFood.lua)
[22/09/2013 00:24:47] data/actions/scripts/ForeverFood.lua:6: 'end' expected (to close 'if' at line 2) near 'doPlayerFeed'
function onUse(cid, item, itemEx)
if(getPlayerFood(cid) + 18) then
return doPlayerSendCancel(cid, "You are full.")
end
doPlayerFeed(cid, 18)
doCreatureSay(cid, "Yummie.", TALKTYPE_MONSTER)
return true
end
function onUse(cid, item, itemEx)
if(getPlayerFood(cid) + 360) then
return doPlayerSendCancel(cid, "You are full.")
end
doPlayerFeed(cid, 18)
doCreatureSay(cid, "Yummie.", TALKTYPE_MONSTER)
return true
end
You can change the mana/hp for each vocation in data/XML/vocations.xml
function onUse(cid, item, itemEx)
if getPlayerFood(cid) + 15 >= 400 then
return doPlayerSendCancel(cid, "You are full.")
end
doPlayerFeed(cid, 60)
doCreatureSay(cid, "Yummie.", TALKTYPE_MONSTER)
return true
end
ow dident notic that one thx @Ninja and @HalfAway ^^!
what is the colum i shold change ? i dont want to change mana/hp gain each level (sorry for being noobish first time)