Posts: 1,176
Threads: 114
Joined: May 2012
Reputation:
0
and after it , i mean like IsPlayerInRangeOfPoint(playerid, Float:range, Float:X, Float:Y, Float:Z);
but i wanna do something , if someone is in range of this point , SetObjectPos , i need the coords of it , i mean i do it SetObjectPos(objectid, etc); or SetObjectPos(playerid, etc); ?
Posts: 1,176
Threads: 114
Joined: May 2012
Reputation:
0
I know that -.-' I just wanna know how to move that object when player is on player range of that object
Posts: 977
Threads: 10
Joined: Apr 2011
Reputation:
0
As people have stated, use the suggested functions. As far as where to use them, you can try under OnPlayerUpdate or through a timer. If you decide to use OnPlayerUpdate, you may want to add some type of delay to the object getting re-positioned, as OnPlayerUpdate is called many times per second.