Native referenceFiveM

GET_PLAYER_TARGET_ENTITY

0x13EDE1A5DBF797C9 PLAYER
FUNCTION SIGNATURE
BOOL GET_PLAYER_TARGET_ENTITY(Player player, Entity* entity);
Property Value
Native Name GET_PLAYER_TARGET_ENTITY
Hash 0x13EDE1A5DBF797C9
Return Type BOOL
Parameters player (Player), entity (Entity*)

Description: ``` Assigns the handle of locked-on melee target to *entity that you pass it.
Returns false if no entity found.

Back to PLAYER