View Single Post
  #7  
Old 04-08-2013, 04:41 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Tim_Rocks View Post
Oh, I'm sorry, I wasn't sure what you were looking for at first.. Try this.

PHP Code:
for (temp.plfindNearestPlayers(this.xthis.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).
Reply With Quote