How to make an array with positions? it is possible?
#8

If you make loop,and if player is not on near by it coordinates he will get two times message "You are not in the site positions!

So it's better make on this way:

Код:
for(new i= 0; i < sizeof( PositionsSite ); i++)
{
    if(IsPlayerInRangeOfPoint(playerid, 3.0, PositionsSite[i][0],PositionsSite[i][1],PositionsSite[i][2])) {

 ///Player is near by an positionssite(i)
}
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)