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 onStepIn(cid, item, pos, fromPos)
return getPlayerItemCount(cid, itemID) > 0 and doTeleportThing(cid, {x=x,y=y,z=z}) or doTeleportThing(cid, fromPos, true)
end
function onStepIn(cid, item, pos, fromPos)
return getPlayerItemCount(cid, [COLOR="#FF0000"]2160[/COLOR]) > [COLOR="#0000FF"]10[/COLOR] and doTeleportThing(cid, {[COLOR="#00FF00"]x=1000,y=1000,z=7[/COLOR]}) or doTeleportThing(cid, fromPos, true)
end
Red: Item for you can pass.
Blue: Count.
Green: Position you will be teleported.
function onStepIn(cid, item, pos, fromPos)
return getPlayerItemCount(cid, [COLOR="#FF0000"]2160[/COLOR]) > [COLOR="#0000FF"]10[/COLOR] and doTeleportThing(cid, {[COLOR="#00FF00"]x=1000,y=1000,z=7[/COLOR]}) or doTeleportThing(cid, fromPos, true)
end
Red: Item for you can pass.
Blue: Count.
Green: Position you will be teleported.
function onStepIn(cid, item, pos, fromPos)
return getPlayerItemCount(cid, itemID) > 0 and doTeleportThing(cid, {x=x,y=y,z=z}) or doTeleportThing(cid, fromPos, true)
end
function onStepIn(cid, item, pos, fromPos)
return getPlayerItemCount(cid, itemID) > 0 and doRemoveItem(item.uid, 1) and doTeleportThing(cid, {x=x,y=y,z=z}) or doTeleportThing(cid, fromPos, true)
end