Alright, this might as well be renamed to my help thread
Can I do this clientside because it's not working for me clientside and I seem to remember reading that you can seartch through all the players x/y clientside?
PHP Code:
for (pl: allplayers) {
pl.chat = "test";
if (pl.x in | HBx - 1.5, HBy - 1.5 | && pl.y in | HBx + 1.5, HBy + 1.5 | ) {
pl.chat = "hit.";
}
}