Array of locations, tried different things. Not working
#2

Try

pawn Код:
for(new i; i < sizeof(GasStations); i++)
{
        if(IsPlayerInRangeOfPoint(playerid, 10.0, GasStations[i][0], GasStations[i][1], GasStations[i][2]))
        {
// Your Code here
            return 1;
         }
         else
         // You code here  
}
Or you can try :
pawn Код:
if(!IsPlayerInRangeOfPoint(playerid, 10.0, GasStations[i][0], GasStations[i][1], GasStations[i][2]))
                  return SCM( bla bla );
I hope this will be works !
If not reply !
Reply


Messages In This Thread
Array of locations, tried different things. Not working - by LiamM - 15.02.2014, 11:59
Re: Array of locations, tried different things. Not working - by terrow - 15.02.2014, 12:05
Re: Array of locations, tried different things. Not working - by ColeMiner - 15.02.2014, 12:10

Forum Jump:


Users browsing this thread: 1 Guest(s)