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

[Request] Boots of waterwalking :S

ryandometal

Guitarist!
Joined
Dec 18, 2008
Messages
143
Reaction score
0
Location
Brazil
Hello, I need a script for boots of waterwalking.
When you equip the boots, you can walk ONLY in water with actionid 'x', and when you walk underwater with boots equiped, you walk on normal speed.

Can someone help me? I didn't find this script and my otserv don't have <_<

Thank's!
 
You could make the walking on water part by doing...

PHP:
--xxxx = actionid of tile
--yyyy = itemid of boww
function onStepIn(cid, item, topos, frompos)
    if (item.actionid == xxxx and getPlayerSlotItem(cid, CONST_SLOT_FEET).itemid == yyyy) then
        doTeleportThing(cid, topos)
        return true
    end
    doTeleportThing(cid, frompos)
    return true
end

I think that should work, but your going to have to use the walkable water tile.
 
Hello, I need a script for boots of waterwalking.
When you equip the boots, you can walk ONLY in water with actionid 'x', and when you walk underwater with boots equiped, you walk on normal speed.

Can someone help me? I didn't find this script and my otserv don't have <_<

Thank's!

Mmm.. now that i'm thinking, you can do all by lua, a system that works like swimming system.
 
Back
Top