Quote:
Originally Posted by Gunderak
maybe only check for that if the player is on the screen?
PHP Code:
for(temp.pl : players) {
|
That will loop through all of the players within the entire level or nearby on the GMAP rather than players on your screen, in terms of serverside there is no screen.
The issue at hand is detecting damage from a single player, though if this was a serverside baddy the inefficiency of this method would be even more serious.