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 teleportThing(minutes)
if minutes <= 0 then
for _, cid in ipairs(getPlayersOnline()) do
if isInRange(getThingPos(cid), t.fromPos, t.toPos) then
if math.random(1, 3) < 3 then
setPlayerStorageValue(cid, t.redStorage, 1)
doAddCondition(cid, conditionRed)...
int32_t health, healthMax;
int32_t mana, manaMax;
in creature.h
change it to
int64_t health, healthMax;
int64_t mana, manaMax;
But i'm not sure if it won't make compile errors.
Ehh, just remove that lines :D Probably u don't need them
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
local aid = item.actionid-_storage
local xpos = {x=996,y=998,z=8}
if _tp[aid] == nil then
if...
What about this?
function onUse(cid, item, fromPosition, itemEx, toPosition)
doCreatureAddHealth(cid, -500, true)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Wrong chest, You lost 500HP.")
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_CAKE)
return true
end