Quote:
Originally Posted by Tim_Rocks
Oh, I'm sorry, I wasn't sure what you were looking for at first.. Try this.
PHP Code:
for (temp.pl: findNearestPlayers(this.x, this.y)) {
echo(temp.pl);
}
That should help, you'll need distance checks though.
|
Actually ya, I think this may be what he wants. He shouldn't need distance checks if he's looking for all players in the level as this is what I think findNearestPlayers() returns(all loaded players).