RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _SET_PROJECTILE_EFFECT_RADIUS

_SET_PROJECTILE_EFFECT_RADIUS

Sets the explosion or impact effect radius of a projectile entity (e.g., thrown dynamite or similar explosives). Notes: - Must be called before the projectile explodes; changing the radius afterward has no effect. - Commonly used after retrieving the projectile entity with MISC::GET_PROJECTILE_OF_PROJECTILE_TYPE_WITHIN_DISTANCE. - This does not trigger an explosion; it only defines how large the explosion’s area of effect will be. - Compared to MISC::ADD_EXPLOSION, which spawns a new explosion at a location, this modifies an existing projectile’s explosion properties.

WEAPONBuild 1207

Signature

lua
SetProjectileEffectRadius(projectile, 0.0)
-- returns void

Parameters

NameTypeDescription
Entity—
float—

Usage

lua
SetProjectileEffectRadius(projectile, 0.0)

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