The Lab
WEAPON native

_SET_PROJECTILE_EFFECT_RADIUS

returns void2 paramsbuild 1207

Sets the effect radius of the projectile.

Signature

C
void _SET_PROJECTILE_EFFECT_RADIUS(Entity projectile, float radius); // 0x74C9080FDD1BB48F b1207

Parameters

#NameType
1projectileEntity
2radiusfloat

Facts

Facts about _SET_PROJECTILE_EFFECT_RADIUS
Name
_SET_PROJECTILE_EFFECT_RADIUS
Hash
0x74C9080FDD1BB48F
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x74C9080FDD1BB48F, -- _SET_PROJECTILE_EFFECT_RADIUS
  PlayerPedId(), -- Entity projectile
  0.0 -- float radius
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x74C9080FDD1BB48F", // _SET_PROJECTILE_EFFECT_RADIUS
  PlayerPedId(), // Entity projectile
  0.0 // float radius
);
C#
Function.Call((Hash)0x74C9080FDD1BB48F, // _SET_PROJECTILE_EFFECT_RADIUS
  API.PlayerPedId(), // Entity projectile
  0.0f // float radius
);
All WEAPON natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.