how can i get the nearest player from point?
#8

Quote:
Originally Posted by Yoseflm
Посмотреть сообщение
ok, i dont get it, he do what exactly?
what he return? in my caomman all i need to do is this ?
GetNearestPlayer(X, Y, Z, playerid);
and how i use this? i say testing, but in fact i don't get it.
help?
Yes thats the way to use it. You can also leave out the last parameter, so
nearestplayer = GetNearestPlayer(x, y, z);
I just added this for more general usages, but you wont need that in most cases
Reply


Messages In This Thread
how can i get the nearest player from point? - by Yoseflm - 26.10.2012, 11:47
Re: how can i get the nearest player from point? - by _Khaled_ - 26.10.2012, 12:05
Re: how can i get the nearest player from point? - by |zEd - 26.10.2012, 12:16
Re: how can i get the nearest player from point? - by Yoseflm - 26.10.2012, 12:17
Re: how can i get the nearest player from point? - by Mauzen - 26.10.2012, 12:27
Re: how can i get the nearest player from point? - by Yoseflm - 26.10.2012, 12:37
Re: how can i get the nearest player from point? - by Yoseflm - 26.10.2012, 12:54
Re: how can i get the nearest player from point? - by Mauzen - 26.10.2012, 13:48

Forum Jump:


Users browsing this thread: 1 Guest(s)