Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0457

Opcode Database

0457

DescriptionReturns true if the player is aiming at the specified character.
Parameters (v2)1) Actor handle (Integer) (INT)
2) Actor handle (Integer) (INT)
Gamessa vc
CategoryActor, Common, Conditional, Player
Command Name (IV)IS_PLAYER_TARGETTING_CHAR
San Andreas
sascm.ini0457=2, is_player_targetting_char %1d% char %2d%
Example0457: is_player_targetting_char $PLAYER_CHAR char 101@
Command NameIS_PLAYER_TARGETTING_CHAR
Vice City
sascm.ini0457=2, player %1d% aiming_at_actor %2d%
Example0457: player $player_char aiming_at_actor $854
Command NameIS_PLAYER_TARGETTING_CHAR

<< 0455

0458 >>