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

help please with that scrpts

ChiSka

Avera.Sytes.Net
Joined
Jul 15, 2009
Messages
865
Reaction score
17
please can some1 help in that scripts

1. i need script to teleport with level if player lvl 200 can enter if not then it say u need lvl 200 to enter

2. same thing with vip if he is vip can enter teleprt if not it say only vip players an enter

3. script to tile who back u to the begin of the quest like poi quest
 
[1]
Lua:
local pos = {x=,y=,z=}
local lvl = 200
function onStepIn(cid, item, position, fromPosition)
 if getPlayerLevel(cid) < lvl then
    doPlayerSendCancel(cid,"Only players with level "..lvl.." are allowed to pass.")
 else
    doTeleportThing(cid,pos,false)
	doSendMagicEffect(pos,10)
 end
 
 return true
 end

[2]
Lua:
local pos = {x=,y=,z=}
local storage = 200   -- vip storage value
function onStepIn(cid, item, position, fromPosition)
 if getPlayerStorageValue(cid,storage) < 1 then
    doPlayerSendCancel(cid,"Only Vip players are allowed to pass.")
 else
    doTeleportThing(cid,pos,false)
	doSendMagicEffect(pos,10)
 end
 
 return true
 end

[3]
I donno what you want , a simple script when you step on tile you get tped to a place you define?
 
[3]

Lua:
local pos = {x=,y=,z=}
function onStepIn(cid, item, position, fromPosition)
  return doTeleportThing(cid,pos,false) and doSendMagicEffect(pos,19) and true
 end
 
Back
Top