GTAG - Modding - Opcode Database - 0458
Opcode Database
0458
| Description | Returns true if the player is aiming at the specified object. |
|---|---|
| Parameters (v2) | 1) Player handle (Integer) (INT) 2) Object handle (Integer) (INT) |
| Games | |
| Category | Common, Conditional, Object, Player |
| Command Name (IV) | IS_PLAYER_TARGETTING_OBJECT |
| San Andreas | |
| sascm.ini | 0458=2, is_player_targetting_object %1d% object %2d% |
| Example | 0458: is_player_targetting_object $PLAYER_CHAR object $1754[0] |
| Command Name | IS_PLAYER_TARGETTING_OBJECT |

