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

Requesting a OnStepIn script!

Synergy

New Member
Joined
Nov 24, 2011
Messages
334
Reaction score
0
Well I guess it's a OnStepIn script,


What I want is exactly like the rookgaard bridge script

If you are under level 8 you can't pass the bridge.

There is 3 tiles which you cannot pass.



Thanks in advance!
 
Code:
function onStepIn(cid, item, position, fromPosition) 
if getPlayerLevel(cid) < 8 then 
doPlayerSendTextMessage(cid, 22, "You need level 8 to pass.") 
doTeleportThing(cid, fromPosition) 
end 
return TRUE 
end
 
Thanks!

- - - Updated - - -

Code:
function onStepIn(cid, item, position, fromPosition) 
if getPlayerLevel(cid) < 8 then 
doPlayerSendTextMessage(cid, 22, "You need level 8 to pass.") 
doTeleportThing(cid, fromPosition) 
end 
return TRUE 
end



Loney, do you know how to make npcs?
 
Back
Top