![]() |
getnearestplayer()
It would be nice if this function allowed you to specify an index along with the coordinates. An index of 0 would be the closest player to the coordinates, 1 would be the next closest, etc.
|
there's getnearestplayers(x,y,condition)
|
Quote:
|
Quote:
|
I would like to know a little bit abotu getnearestplayer.
Anyone like to explain? I know it gets the nearest player but I would like to know the conditions and such. It's serverside, correct? |
wtf, I didn't know such a thing existed. *slaps self*
|
Quote:
i = getnearestplayers(x,y,!strequals(#g,Staff)); |
Ah, thanks.
I knew it got the index, that is what I meant. I just didn't think about the conditions. |
| All times are GMT +2. The time now is 04:19 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.