GTAG - Modding - Opcode Database - 0500
Opcode Database
0500
| Description | Returns true if the players specified bodypart uses the specified texture. |
|---|---|
| Parameters (v2) | 1) Player handle (Integer) (INT) 2) String (STRING) 3) Character body part ID (Integer) (INT) |
| Games | |
| Category | Common, Conditional, Player |
| San Andreas | |
| sascm.ini | 0500=3, is_player_wearing %1d% skin %3s% bodypart %2h% |
| Example | 0500: is_player_wearing $PLAYER_CHAR skin "GIMPLEG" bodypart 17 |
| Command Name | IS_PLAYER_WEARING |
| Vice City | |
| sascm.ini | 0500=2, is_player_wearing %1d% skin %2s% |
| Example | 0500: is_player_wearing $PLAYER_CHAR skin "myskin" |
| Command Name | IS_PLAYER_WEARING |

