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

qeuest cheest problem

negerhoran

New Member
Joined
Nov 18, 2013
Messages
41
Reaction score
1
Hello ivee been mapped some qeusts for "start items" to my server i got one problem ppl can walk over the cheest how do i make so when they walk over it the got "pushed" back please help me. thx
 
Which server do you use? Did you use an uniqueid in the chest?

Else look in movements for a script called walkback.lua
If you don't have it, you can add it.
Code:
function onStepIn(cid, item, position, fromPosition)
   if item.uid > 0 and item.uid <= 65535 and isPlayer(cid) == TRUE then
     doTeleportThing(cid, fromPosition, FALSE)
   end
   return TRUE
end

Add it with the chest ids in moevements.xml.
 
Back
Top Bottom