I need help!
#1

I am looking for a function which takes Closest position.
Reply
#2

Closest point of where?
Do you mean if for example, there are 4 locations and you get the players position and it gets whether the player is closer to Location 1, or 2, 3, or 4? For example?
Umm do you have Xfire or add joshjbosh@hotmail.com on MSN and I can help.
Just describe to me how you would use it.
Reply
#3

If im reading right, your trying to get the nearest points of where a player is? Do it like this.

Код:
New Float:X,Float:Y,Float:z;
GetPlayerPos(playerid,X,Y,Z);
Reply
#4

Like what are you tring to make?
Reply
#5

Quote:
Originally Posted by cj101
Посмотреть сообщение
If im reading right, your trying to get the nearest points of where a player is? Do it like this.

Код:
New Float:X,Float:Y,Float:z;
GetPlayerPos(playerid,X,Y,Z);
Yeah I mean to get the nearest points of where a player is.

GetPlayerPos isn't
Reply
#6

GetPlayerDistanceFromPoint(playerid, Float:X, Float:Y, Float:Z);
Reply
#7

and how do I find the nearest position?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)