Quote:
|
Originally Posted by Chicken_l33t
Umm, I was fixing his script not giving him a whole new one. It's not bad advice becaue I was fixing what he already had and testplayer(x,y) returns the index of the player so you don't have to do what you said.
Don't be such a prick aswell. Wee, good advice.
|
I don't see much of a difference between your script and the thread-maker's. But it is a bit of an improvement.
Also last time I checked, testplayer index does not work on clientside anymore. It returns 0 for yourself, or it returns -1. Anyone care to debate?
Nonetheless, iterating through all the players in a level using a for loop, then checking coordinates using players[index].xy, then using #a(index) to display the account name will work.