RedM Natives

TASK_RELOAD_WEAPON

ped can't reload and walk, setting ammo needs to be set after using this or it will not make the animation reload, wont work if you are in first person

Hash0x62D2916F56B9CD2D
Runtime nameTaskReloadWeapon
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x62D2916F56B9CD2D

Signature

void TASK_RELOAD_WEAPON(Ped ped, BOOL unused);

Parameters

NameTypeDescription
pedPed—
unusedBOOL—

Returns void

Description

VORPCORE RDR3natives

ped can't reload and walk, setting ammo needs to be set after using this or it will not make the animation reload, wont work if you are in first person

Usage

Lua
TaskReloadWeapon(ped, unused)

-- always works, by hash
Citizen.InvokeNative(0x62D2916F56B9CD2D, ped, unused)
JavaScript and C#
JavaScript
TaskReloadWeapon(ped, unused);

// by hash
Citizen.invokeNative('0x62D2916F56B9CD2D', ped, unused);
C#
Function.Call((Hash)0x62D2916F56B9CD2D, ped, unused);

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

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