04.03.2015, 21:47
if you follow the code Southclaw wrote you, what it does is, it gives a normal ak ( same id ) , just with a different name, different damage. so you can have multiple AK's, same ids, just different params. what you basically do is just give a normal ak so you won't worry about object attached because you don't even attach it in the first place.
The way Southclaw did it in S&S project, is you can only hold one weapon at a time, you can have more weapons but they are in the inventory and one slot for holstering.
You can know when the player switches the weapon through OnPlayerUpdate and save 2 vars, new weapon, last weapon, if they are different delete last object, attach the new object.
The way Southclaw did it in S&S project, is you can only hold one weapon at a time, you can have more weapons but they are in the inventory and one slot for holstering.
You can know when the player switches the weapon through OnPlayerUpdate and save 2 vars, new weapon, last weapon, if they are different delete last object, attach the new object.

