GTAG - Modding - Opcode Database - 00B0
Opcode Database
00B0
| Description | Returns true if the vehicle with the specified handle is in the specified rectangular zone. |
|---|---|
| Parameters (v2) | 1) Vehicle handle (Integer) (INT) 2) X Coord (Float) (FLOAT) 3) Y Coord (Float) (FLOAT) 4) X Coord (Float) (FLOAT) 5) Y Coord (Float) (FLOAT) 6) Boolean (1 or 0) (INT) |
| Games | |
| Category | Common, Conditional, Locate, Locate, Vehicle |
| Command Name (IV) | IS_CAR_IN_AREA_2D |
| San Andreas | |
| sascm.ini | 00B0=6, is_car_in_area_2d %1d% from %2d% %3d% to %4d% %5d% sphere %6d% |
| Example | 00B0: is_car_in_area_2d 79@(163@,4i) from 1940.82 72.1365 to 2145.438 140.5141 sphere 0 |
| Command Name | IS_CAR_IN_AREA_2D |
| Vice City | |
| sascm.ini | 00B0=6, is_car_in_area_2d %1d% from %2d% %3d% to %4d% %5d% sphere %6d% |
| Example | 00B0: is_car_in_area_2d $5653 from -1135.2 73.2 to -1130.8 67.9 sphere 0 |
| Command Name | IS_CAR_IN_AREA_2D |
| GTA III | |
| gtascm.ini | 00B0=6, is_car_in_area_2d %1d% from %2d% %3d% to %4d% %5d% sphere %6d% |
| Example | 00B0: is_car_in_area_2d $CAR_PORTLAND_IMPORT from 1496.75 -686.1874 to 1523.25 -666.7499 sphere 0 |
| Command Name | IS_CAR_IN_AREA_2D |

