View Single Post
Old 21/02/2020, 04:58 PM   #2
tonto125
Little Clucker
 
Join Date: May 2017
Posts: 9
Reputation: 0
Default Re: Player Near Object Detection

Create a float of the X,Y,Z coords. For example;
Code:
new Float:baloon[3];
Then use that in the IsPlayerInRangeOfPoint function.

Code:
If(IsPlayerInRangeOfPoint(playerid, 10.0, baloon[0], baloon[1], baloon[2]))
tonto125 is offline   Reply With Quote