Thread: getplayer
View Single Post
  #15  
Old 06-12-2004, 04:20 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally Posted by osrs
It's syntax is like what Lance said.
On your system, i would tell you to use getnearestplayers(); wich will return into an array of player's indexs. So get the first index (it's the nearest player) and get its account name,then use getplayer() to act on the specified player and do whatever you want.
why use getplayer when you can do players[index]...
Reply With Quote