InRangeOfPoint
#6

Quote:
Originally Posted by SymonClash
View Post
@Lirbo: As i can see you haven't read my post. I don't need a random spawn system (which i have it already), but i just need the IsInRangeOfPoint check.

@Pizzy: What?
Code:
#define MAX_LOCATIONS 12
new Float:F[3];
GetPlayerPos(playerid, F[0], F[1], F[2]);
for(new i; i < MAX_LOCATIONS; i++)
{
    if(IsPlayerInRangeOfPoint(playerid, DISTANCE, RandomSpawn[i][0], RandomSpawn[i][1], RandomSpawn[i][2]))
    {
//code
    }
}
Reply


Messages In This Thread
InRangeOfPoint - by SymonClash - 29.03.2019, 15:02
Re: InRangeOfPoint - by Lirbo - 29.03.2019, 15:08
Re: InRangeOfPoint - by Pizzy - 29.03.2019, 15:10
Re: InRangeOfPoint - by SymonClash - 29.03.2019, 16:14
Re: InRangeOfPoint - by bgedition - 29.03.2019, 16:28
Re: InRangeOfPoint - by Lirbo - 29.03.2019, 16:34
Re: InRangeOfPoint - by SymonClash - 29.03.2019, 20:08

Forum Jump:


Users browsing this thread: 1 Guest(s)