GTAG - Modding - Opcode Database - 0221
Opcode Database
0221
| Description | Applies brakes to the players car. |
|---|---|
| Parameters (v2) | 1) Player handle (Integer) (INT) 2) Boolean (1 or 0) (INT) |
| Games | |
| Category | Common, Player, Vehicle |
| San Andreas | |
| sascm.ini | 0221=2,apply_brakes_to_players_car %1d% apply %2d% |
| Example | 0221: apply_brakes_to_players_car $PLAYER_CHAR apply 1 |
| Command Name | APPLY_BRAKES_TO_PLAYERS_CAR |
| Vice City | |
| sascm.ini | 0221=2,set_player %1d% apply_brakes_to_car %2d% |
| Example | 0221: set_player $player_char apply_brakes_to_car 1 |
| Command Name | APPLY_BRAKES_TO_PLAYERS_CAR |
| GTA III | |
| gtascm.ini | 0221=2,set_player %1d% apply_brakes_to_car %2d% |
| Example | 0221: set_player $PLAYER_CHAR apply_brakes_to_car 0 |
| Command Name | APPLY_BRAKES_TO_PLAYERS_CAR |

