GTAG - Modding - Opcode Database - 0457
Opcode Database
0457
| Description | Returns true if the player is aiming at the specified character. |
|---|---|
| Parameters (v2) | 1) Actor handle (Integer) (INT) 2) Actor handle (Integer) (INT) |
| Games | |
| Category | Actor, Common, Conditional, Player |
| Command Name (IV) | IS_PLAYER_TARGETTING_CHAR |
| San Andreas | |
| sascm.ini | 0457=2, is_player_targetting_char %1d% char %2d% |
| Example | 0457: is_player_targetting_char $PLAYER_CHAR char 101@ |
| Command Name | IS_PLAYER_TARGETTING_CHAR |
| Vice City | |
| sascm.ini | 0457=2, player %1d% aiming_at_actor %2d% |
| Example | 0457: player $player_char aiming_at_actor $854 |
| Command Name | IS_PLAYER_TARGETTING_CHAR |

