Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0458

Opcode Database

0458

DescriptionReturns true if the player is aiming at the specified object.
Parameters (v2)1) Player handle (Integer) (INT)
2) Object handle (Integer) (INT)
Gamessa
CategoryCommon, Conditional, Object, Player
Command Name (IV)IS_PLAYER_TARGETTING_OBJECT
San Andreas
sascm.ini0458=2, is_player_targetting_object %1d% object %2d%
Example0458: is_player_targetting_object $PLAYER_CHAR object $1754[0]
Command NameIS_PLAYER_TARGETTING_OBJECT

<< 0457

0459 >>