The Lab
WEAPON native

_SEND_WEAPON_TO_INVENTORY

returns void2 paramsbuild 1207

Moves the weapon weaponHash from the ped into its inventory.

Signature

C
void _SEND_WEAPON_TO_INVENTORY(Ped ped, Hash weaponHash); // 0xE9BD19F8121ADE3E b1207

Parameters

#NameType
1pedPed
2weaponHashHash

Facts

Facts about _SEND_WEAPON_TO_INVENTORY
Name
_SEND_WEAPON_TO_INVENTORY
Hash
0xE9BD19F8121ADE3E
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(0xE9BD19F8121ADE3E, -- _SEND_WEAPON_TO_INVENTORY
  PlayerPedId(), -- Ped ped
  GetHashKey("weapon_revolver_cattleman") -- Hash weaponHash
)
JavaScript
Citizen.invokeNative("0xE9BD19F8121ADE3E", // _SEND_WEAPON_TO_INVENTORY
  PlayerPedId(), // Ped ped
  GetHashKey("weapon_revolver_cattleman") // Hash weaponHash
);
C#
Function.Call((Hash)0xE9BD19F8121ADE3E, // _SEND_WEAPON_TO_INVENTORY
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("weapon_revolver_cattleman") // Hash weaponHash
);
All WEAPON natives

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