GTAG - Modding - Opcode Database - 00DD
Opcode Database
00DD
| Description | Returns true if the specified character is driving a vehicle with the specified model. |
|---|---|
| Parameters (v2) | 1) Actor handle (Integer) (INT) 2) Model (Integer) (MODEL) |
| Games | |
| Category | Actor, Common, Conditional |
| Command Name (IV) | IS_CHAR_IN_MODEL |
| San Andreas | |
| sascm.ini | 00DD=2, is_char_in_model %1d% model %2o% |
| Example | 00DD: is_char_in_model $PLAYER_ACTOR model #AMBULAN |
| Command Name | IS_CHAR_IN_MODEL |
| Vice City | |
| sascm.ini | 00DD=2, is_char_in_model %1d% model %2o% |
| Example | 00DD: is_char_in_model $5135 model #ANGEL |
| Command Name | IS_CHAR_IN_MODEL |
| GTA III | |
| gtascm.ini | 00DD=2, is_char_in_model %1d% model %2o% |
| Example | 00DD: is_char_in_model $hActor model #AMBULAN |
| Command Name | IS_CHAR_IN_MODEL |

