valivan601
New Member
- Joined
- Apr 13, 2011
- Messages
- 365
- Reaction score
- 1
Hello can anyone help me with this script i want that a player walk on tiles only if he's using a boots waterwalking if he isnt using he canot move and take same drowning damage.
tiles of walkable water : 4820-4821-4822-4823-4824-4825
boots of waterwalking id: 2358
also when i use this effect to walk on the water it works fine but if i reload movements it crashes the server
tiles of walkable water : 4820-4821-4822-4823-4824-4825
boots of waterwalking id: 2358
also when i use this effect to walk on the water it works fine but if i reload movements it crashes the server
Code:
function onStepIn(cid, item, pos, lastPosition, fromPosition, toPosition, actor)
return doSendMagicEffect(toPosition, CONST_ME_LOSEENERGY)
end
Code:
<movevent type="StepIn" itemid="4820;4821;4822;4823;4824;4825" event="script" value="waterwalk.lua"/>
Last edited: