Loop through array
#2

Try it so.

PHP код:
for(new i;i<sizeof PayCoords;i++)
{
    if(
IsPlayerInRangeOfPoint(playerid,5,PayCoords[i][0],PayCoords[i][1],PayCoords[i][2]))
    {
        
//In range
    
}

Reply


Messages In This Thread
Loop through array - by Sellize - 04.04.2015, 08:00
AW: Loop through array - by Mencent - 04.04.2015, 08:05
Re: AW: Loop through array - by Sellize - 04.04.2015, 08:06

Forum Jump:


Users browsing this thread: 1 Guest(s)