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]...