03.06.2010, 13:16
pawn Код:
for(new i = 71 || i = 72 || i = 73 || i = 117 i++))
{
new dist = CheckPlayerDistanceToVehicle(7, playerid, i);
if(dist)
{
counter++;
}
}
pawn Код:
new VehicleList[] = {71,72,73,117};
for(new i = 0; i < sizeof(VehicleList); i++)
{
if(CheckPlayerDistanceToVehicle(7, playerid, VehicleList[i]))
{
counter++;
}
}