GTAG - Modding - Opcode Database - 0137
Opcode Database
0137
| Description | Returns true if car with the specified handle has the specified model. |
|---|---|
| Parameters (v2) | 1) Vehicle handle (Integer) (INT) 2) Model (Integer) (MODEL) |
| Games | |
| Category | Conditional, Vehicle |
| Command Name (IV) | IS_CAR_MODEL |
| San Andreas | |
| sascm.ini | 0137=2, is_car_model %1d% model %2o% |
| Example | 0137: is_car_model 0@ model #REMINGTN |
| Command Name | IS_CAR_MODEL |
| Vice City | |
| sascm.ini | 0137=2, car %1d% id == %2t% |
| Example | 0137: car $5651 id == #VOODOO |
| Command Name | IS_CAR_MODEL |
| GTA III | |
| gtascm.ini | 0137=2, car %1d% id == %2o% |
| Example | 0137: car $735 id == #DODO |
| Command Name | IS_CAR_MODEL |

