20.02.2015, 10:18
Something like
pawn Код:
new bizID;
for(new i; i<MAX_BUSINESSES; i++)
{
if(IsPlayerInRangeOfPoint(playerid, 5.0, bizInfo[i][xPos], bizInfo[i][yPos], bizInfo[i][zPos]))
{
bizID = i;
break;
}
}