Thread: Help
View Single Post
  #8  
Old 02-19-2006, 09:22 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
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.
__________________
Reply With Quote