GTAG - Modding - Opcode Database - 02F2
Opcode Database
02F2
| Description | Returns true if the characters model ID is equivalent to the model ID passed. |
|---|---|
| Parameters (v2) | 1) Actor handle (Integer) (INT) 2) Model (Integer) (MODEL) |
| Games | |
| Category | Actor, Common, Conditional |
| Command Name (IV) | IS_CHAR_MODEL |
| San Andreas | |
| sascm.ini | 02F2=2, is_char_model %1d% model %2o% |
| Example | 02F2: is_char_model 164@ model #BMYPOL1 |
| Command Name | IS_CHAR_MODEL |
| Vice City | |
| sascm.ini | 02F2=2, actor %1d% model == %2o% |
| Example | 02F2: actor $4643 model == #COP |
| Command Name | IS_CHAR_MODEL |
| GTA III | |
| gtascm.ini | 02F2=2, actor %1d% model == %2h% |
| Example | 02F2: actor $hActor model == #MODEL |
| Command Name | IS_CHAR_MODEL |

