29.03.2019, 16:34
Quote:
|
@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
}
}


