_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).
Hash
0x2EBF70E1D8C06683Runtime name
SetArrowTrailFxNamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_ARROW_TRAIL_FX(Ped ped, Hash trailHash);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
trailHash | Hash | — |
Returns void
Description
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.
Sets the visual trail FX for arrows fired from a Bow by the given ped
Usage
SetArrowTrailFx(ped, trailHash)
-- always works, by hash
Citizen.InvokeNative(0x2EBF70E1D8C06683, ped, trailHash)JavaScript and C#
SetArrowTrailFx(ped, trailHash);
// by hash
Citizen.invokeNative('0x2EBF70E1D8C06683', ped, trailHash);Function.Call((Hash)0x2EBF70E1D8C06683, ped, trailHash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.