The Lab
WEAPON native

_DISABLE_ALL_SPECIAL_AMMO_FOR_PED

returns void2 paramsbuild 1207

Disables all special ammo types for the ped's weapon weaponHash.

Signature

C
void _DISABLE_ALL_SPECIAL_AMMO_FOR_PED(Ped ped, Hash weaponHash); // 0xD63B4BA3A02A99E0 b1207

Parameters

#NameType
1pedPed
2weaponHashHash

Facts

Facts about _DISABLE_ALL_SPECIAL_AMMO_FOR_PED
Name
_DISABLE_ALL_SPECIAL_AMMO_FOR_PED
Hash
0xD63B4BA3A02A99E0
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(0xD63B4BA3A02A99E0, -- _DISABLE_ALL_SPECIAL_AMMO_FOR_PED
  PlayerPedId(), -- Ped ped
  GetHashKey("weapon_revolver_cattleman") -- Hash weaponHash
)
JavaScript
Citizen.invokeNative("0xD63B4BA3A02A99E0", // _DISABLE_ALL_SPECIAL_AMMO_FOR_PED
  PlayerPedId(), // Ped ped
  GetHashKey("weapon_revolver_cattleman") // Hash weaponHash
);
C#
Function.Call((Hash)0xD63B4BA3A02A99E0, // _DISABLE_ALL_SPECIAL_AMMO_FOR_PED
  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.