• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Quest tile help plz

pioncz

New Member
Joined
Dec 3, 2008
Messages
149
Reaction score
1
Hi,
How to make teleport but will tp player only when he have done quest, 10576 value. Please help me. I was searching a lot.
 
LUA:
function onStepIn(cid, item, position, fromPosition)
   local pos = {x=283, y=214, z=10}

   if isPlayer(cid) == TRUE and getPlayerStorageValue(cid, 10576) == 1 then
        doTeleportThing(cid, pos)
   else
        doTeleportThing(cid, fromPosition)
    end
  return TRUE
end
 
Back
Top