{"hash":"0x27F89FDC16688A7A","ns":"PLAYER","name":"IS_PLAYER_TARGETTING_ENTITY","slug":"IS_PLAYER_TARGETTING_ENTITY","official":true,"named":true,"luaName":"IsPlayerTargettingEntity","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"player","type":"Player"},{"name":"entity","type":"Entity"},{"name":"withWeapon","type":"BOOL"}],"summary":"p2 will return true if player is targetting entity with a weapon if false will return true if player is targetting entity without a weapon","descriptions":[{"source":"vorp","format":"text","body":"p2 will return true if player is targetting entity with a weapon if false will return true if player is targetting entity without a weapon"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x7912F7FC4F6264B6","gtaJhash":"0xF3240B77","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PLAYER/IS_PLAYER_TARGETTING_ENTITY","markdownUrl":"https://natives.borderlinerp.com/natives/PLAYER/IS_PLAYER_TARGETTING_ENTITY.md","snippets":{"lua":"local retval = IsPlayerTargettingEntity(player, entity, withWeapon)","luaInvoke":"local retval = Citizen.InvokeNative(0x27F89FDC16688A7A, player, entity, withWeapon, Citizen.ReturnResultAnyway())","js":"const retval = IsPlayerTargettingEntity(player, entity, withWeapon);","jsInvoke":"const retval = Citizen.invokeNative('0x27F89FDC16688A7A', player, entity, withWeapon, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x27F89FDC16688A7A, player, entity, withWeapon);","notes":[]}}