Hey, did someone found the way to put weapon attachements such as silencers or flashlight ? Didn’t see any thread about it !
The relevant natives are
WEAPON::HAS_PED_GOT_WEAPON_COMPONENT(pedID, weaponHash, componentHash),
WEAPON::GIVE_WEAPON_COMPONENT_TO_PED(pedID, weaponHash, componentHash),
WEAPON::REMOVE_WEAPON_COMPONENT_FROM_PED(pedID, weaponHash, componentHash).
Finding the weapon names and component names (to get the hashes) shouldn’t be too hard. The hard part is knowing which weapons have which components.
1 Like
Hi, do you know how to make a system like in VRP framework to Mount and Unmount guns?
Like remove the weapons from the “wheel of arms” and put it in inventory as ITEMS?
Thanks