check if someone near an object
#1

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
Reply
#2

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.
Reply
#3

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?
Reply
#4

You can this object using an array, and then you can check it easily with IsPlayerInRangeOfPoint
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)