tibiaboy321
New Member
- Joined
- Jan 2, 2017
- Messages
- 3
- Reaction score
- 0
Hello!
i find code which put wal around play bat problem is, its just put one wal around player i need full walls around player.
code:
auto 100 listas 'MW Target' | safe {set $y $target.posy | set $x $target.posx | if [$target.posx > $posx] inc $x | if [$target.posx < $posx] dec $x | if [$target.posy > $posy] inc $y | if [$target.posy < $posy] dec $y | {useongroundxyz [3202] [$x] [$y] [$target.posz]}}
i find code which put wal around play bat problem is, its just put one wal around player i need full walls around player.
code:
auto 100 listas 'MW Target' | safe {set $y $target.posy | set $x $target.posx | if [$target.posx > $posx] inc $x | if [$target.posx < $posx] dec $x | if [$target.posy > $posy] inc $y | if [$target.posy < $posy] dec $y | {useongroundxyz [3202] [$x] [$y] [$target.posz]}}