Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about attacking
#3
its in playersearch i think..the packet s:

"search" (server side) thats where a player or npc is been targetted, so you need to add:

if getplayerx(index) = MapNpc(Player bla bla target code thingy).x - 1 or
getplayerx(index) = MapNpc(Player bla bla target code thingy).x +1 and
getplayery(index) = MapNpc(Player bla bla target code thingy)y. -1 or
getplayery(index) = MapNpc(Player bla bla target code thingy)y. +1 then

your code


thats just out of my midn..i am really tiered right now, if you cant find it or need some help just post it here


bye
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)