I would like spawn weapon entity. I can spawn it, add attachments too. BUT addning magazine is MISSING or IMPOSSIBLE.
Code:
oWpn = Weapon_Base.Cast((GetGame().CreateObject("VSS" , "0 0 0");
optic = oWpn.GetInventory().CreateAttachment("PSO11Optic");
BUT for magazine this way DOES NOT WORK.
Also idk how is possible spawn for example shotgun with ammo loaded.
Could you please implement this?
Thanks a lot!