• 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!

Teleport level.

Faraonekkk

New Member
Joined
Feb 15, 2010
Messages
686
Reaction score
4
is it possible to do teleport level?
i mean if i put in actionid teleport (1050) so he will tp only ppls with 50 lvl+?
 
[02/12/2011 11:58:55] [Error - LuaScriptInterface::loadFile] data/movements/scripts/seal1.lua:1: '=' expected near 'tpTo'
[02/12/2011 11:58:55] [Warning - Event::loadScript] Cannot load script (data/movements/scripts/seal1.lua)
[02/12/2011 11:58:55] data/movements/scripts/seal1.lua:1: '=' expected near 'tpTo'


error :P in console
 
sorry, its working but only one.
if i wanna enter other teleports its kicking me..
i added everyhing actions etc
just saw that in console:
[02/12/2011 12:24:07] [Warning - MoveEvents::addEvent] Duplicate move event found: 1387
 
i wanted make 11112 <== its working but when i add same 11113 <-- its not working (when i enter to tp its kick me 1sqm down) and its same with other action 11114,11115 etc

also when i delete 11112 and put 11113
than 11113 is working :P and 11112 not
 
i wanted make 11112 <== its working but when i add same 11113 <-- its not working (when i enter to tp its kick me 1sqm down) and its same with other action 11114,11115 etc

also when i delete 11112 and put 11113
than 11113 is working :P and 11112 not

try not using itemid ;o

did u change actionid in the script too?
Code:
[/FONT]
item[COLOR=#66cc66].[/COLOR]actionid [COLOR=#66cc66]==[/COLOR] ACTIONID
this part
 
yeah :P thanks for helping but its still not working :P if i delete itemid i can't go in teleport :P


edit: I puted other floor than teleport and puted action id 11113 its same so its not different its teleport or other floor. There is something in script inneded.
 
Last edited:
yeah :P thanks for helping but its still not working :P if i delete itemid i can't go in teleport :P


edit: I puted other floor than teleport and puted action id 11113 its same so its not different its teleport or other floor. There is something in script inneded.

idk, im confused :S
 
Code:
local id = 66384 --this is the action id u need to edit to the item in map editor
local place = {x = 993, y = 996, z = 7}
function onStepIn(cid, item, position, fromPosition)
if item.actionid == id and getPlayerLevel(cid) >= 50 then
doTeleportThing(cid, place)
doSendMagicEffect(getPlayerPosition(cid), 37)
elseif item.actionid ~= id then

          end
 return true
end

Tested and works.

If the player is lower than level 50, they wont get teleported anywhere.
 
Back
Top