RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _TASK_FORCE_THROWABLE_AT_ENTITY_WHILE_AIMING

_TASK_FORCE_THROWABLE_AT_ENTITY_WHILE_AIMING

Forces a ped to attack a target with throwable or projectile weapons (like bows, throwing knives, tomahawks, dynamite) for a specified duration while aiming With a bow: the ped keeps firing arrows continuously until durationMs expires (as long as the aiming condition is maintained).With other throwables: throws are generally single-use (one per animation cycle).Excluded weapons: lasso and bolas

TASKBuild 1207

Signature

lua
TaskForceThrowableAtEntityWhileAiming(PlayerPedId(), targetEntity, 0, true, true)
-- returns void

Parameters

NameTypeDescription
Ped—
Entity—
int—
BOOL—
BOOL—

Usage

lua
TaskForceThrowableAtEntityWhileAiming(PlayerPedId(), targetEntity, 0, true, true)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details