18-07-2006, 07:46 PM
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
"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