The Lab
WEAPON native

GIVE_DELAYED_WEAPON_TO_PED

returns void5 paramsbuild 1207

Gives the ped the weapon weaponHash with ammoCount rounds without equipping it immediately.

Signature

C
void GIVE_DELAYED_WEAPON_TO_PED(Ped ped, Hash weaponHash, int ammoCount, BOOL p3, Hash addReason); // 0xB282DC6EBD803C75 b1207

Parameters

#NameType
1pedPed
2weaponHashHash
3ammoCountint
4p3BOOL
5addReasonHash

Facts

Facts about GIVE_DELAYED_WEAPON_TO_PED
Name
GIVE_DELAYED_WEAPON_TO_PED
Hash
0xB282DC6EBD803C75
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(0xB282DC6EBD803C75, -- GIVE_DELAYED_WEAPON_TO_PED
  PlayerPedId(), -- Ped ped
  GetHashKey("weapon_revolver_cattleman"), -- Hash weaponHash
  0, -- int ammoCount
  false, -- BOOL p3
  GetHashKey("name") -- Hash addReason
)
JavaScript
Citizen.invokeNative("0xB282DC6EBD803C75", // GIVE_DELAYED_WEAPON_TO_PED
  PlayerPedId(), // Ped ped
  GetHashKey("weapon_revolver_cattleman"), // Hash weaponHash
  0, // int ammoCount
  false, // BOOL p3
  GetHashKey("name") // Hash addReason
);
C#
Function.Call((Hash)0xB282DC6EBD803C75, // GIVE_DELAYED_WEAPON_TO_PED
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("weapon_revolver_cattleman"), // Hash weaponHash
  0, // int ammoCount
  false, // BOOL p3
  (uint)API.GetHashKey("name") // Hash addReason
);
All WEAPON natives

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