GTAG - Modding - Opcode Database - 0229
Opcode Database
0229
| Description | Sets the cars primary and secondary colours to the specified values. |
|---|---|
| Parameters (v2) | 1) Vehicle handle (Integer) (INT) 2) Car colour ID (Integer) (INT) 3) Car colour ID (Integer) (INT) |
| Games | |
| Category | Vehicle |
| Command Name (IV) | CHANGE_CAR_COLOUR |
| San Andreas | |
| sascm.ini | 0229=3,change_car_colour %1d% primary_to %2d% secondary_to %3d% |
| Example | 0229: change_car_colour $IMPORT_CAR primary_to 11 secondary_to 0 |
| Command Name | CHANGE_CAR_COLOUR |
| Vice City | |
| sascm.ini | 0229=3,set_car %1d% color_to %2d% %3d% |
| Example | 0229: set_car 0@ color_to 84 84 |
| Command Name | CHANGE_CAR_COLOUR |
| GTA III | |
| gtascm.ini | 0229=3,set_car %1d% color_to %2d% %3d% |
| Example | 0229: set_car $EIGHT_CAR color_to 58 1 |
| Command Name | CHANGE_CAR_COLOUR |

