Thread
:
testplayer(mousex,mousey) problems
View Single Post
#
2
05-16-2006, 02:21 PM
Admins
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Only other solution is to go through players[], like
PHP Code:
for (
pl
:
players
) {
if (
abs
(
mousex
-
pl
.
x
)<=
1
&&
abs
(
mousey
-
pl
.
y
)<=
1
) {
...
}
}
Admins
View Public Profile
View GraalOnline Profile
Visit Admins's homepage!
Find all posts by Admins