RedM Natives

_SET_ARROW_TRAIL_FX

Sets the arrow trail FX preset for arrows fired from a bow by this ped (applies to arrows fired after the call).

Hash0x2EBF70E1D8C06683
Runtime nameSetArrowTrailFx
NamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_ARROW_TRAIL_FX(Ped ped, Hash trailHash);

Parameters

NameTypeDescription
pedPed—
trailHashHash—

Returns void

Description

alloc8or RDR3 NativeDB

Sets the arrow trail FX preset for arrows fired from a bow by this ped (applies to arrows fired after the call).
trailHash: 658521773 is used by R* to enable a sparkly trail in some MP modes and to restore default via -1199552854.
Visual-only; does not change ammo/damage.

VORPCORE RDR3natives

Sets the visual trail FX for arrows fired from a Bow by the given ped

Usage

Lua
SetArrowTrailFx(ped, trailHash)

-- always works, by hash
Citizen.InvokeNative(0x2EBF70E1D8C06683, ped, trailHash)
JavaScript and C#
JavaScript
SetArrowTrailFx(ped, trailHash);

// by hash
Citizen.invokeNative('0x2EBF70E1D8C06683', ped, trailHash);
C#
Function.Call((Hash)0x2EBF70E1D8C06683, ped, trailHash);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.