Posts: 617
Threads: 129
Joined: Feb 2014
how do i check if someone is near an object that spawns at a random location , could someone tell me please and please show a little bit of coding as well
Posts: 694
Threads: 2
Joined: Oct 2012
Reputation:
0
If you are using streamer you can use this function to get the pos then check
Streamer_GetFloatData(type, STREAMER_ALL_TAGS id, data, Float:result)
If not, there is not really a way unless you save the pos then check.
Posts: 617
Threads: 129
Joined: Feb 2014
Quote:
Originally Posted by PrO.GameR
If you are using streamer you can use this function to get the pos then check
Streamer_GetFloatData(type, STREAMER_ALL_TAGS id, data, Float:result)
If not, there is not really a way unless you save the pos then check.
|
Is there any tutorial that i can use to help me with using that function?
Posts: 969
Threads: 26
Joined: Jan 2016
Reputation:
0
You can this object using an array, and then you can check it easily with IsPlayerInRangeOfPoint