Skip to main content

GET_CHAR_WEAPON_IN_SLOT

Game.GetCharWeaponInSlotHash0x74EC7580
Usage
local pWeapon, pAmmo0, pAmmo1 = Game.GetCharWeaponInSlot(charIndex, weaponSlot)
Not described yet. Know what this native does? Add a description on GitHub.

Parameters

  • charIndexintegerint
  • weaponSlotintegerint

Returns

  • pWeaponintegerint*
  • pAmmo0integerint*
  • pAmmo1integerint*
Original declaration
// 0x74EC7580
void GET_CHAR_WEAPON_IN_SLOT(int charIndex, int weaponSlot, int* pWeapon, int* pAmmo0, int* pAmmo1);