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

Help with movement script level with action ID

amr shalapy

Banned User
Joined
Aug 28, 2014
Messages
122
Reaction score
8
hello i want make this script with action id 23142 in magicforce field to passing from level 250,000 and iam using The Forgotten Server - Edited By Cyko V8, version 0.3.6
pokuFZbcp
but it dosen't working please help..
LUA:
function onStepIn(cid, item, pos)
madness = {x=6166,y=6050,z=10}
target = {x=1318,y=1292,z=7}
reqlevel = 250000
level = getPlayerLevel(cid)

if level < reqlevel then
doTeleportThing(cid, madness)
doPlayerSendTextMessage(cid, 16, "sorry, you must be level 250,000 or higher to enter this area")
else
doTeleportThing(cid, target)
end
end

this the photo!
phtot.PNG - ImageShack
 
Last edited:
LUA:
function onStepIn(cid, item, pos)
    if getPlayerLevel(cid) < 250000 then
        doTeleportThing(cid, {x = 6166, y = 6050, z = 10})
        doPlayerSendTextMessage(cid, 16, "sorry, you must be level 250,000 or higher to enter this area")
    else
        doTeleportThing(cid, {x = 1318, y = 1292, z = 7})
    end

    return true
end

Please read the rules, you can't bump after 40min...
If it has been less than 24h edit your posts.

Set an item to actionid 23142, in movements.xml set actionid="23142" and you are done.
 
Last edited:

Similar threads

Back
Top