Hello!
I'm spawning a rifle on the ground using player.SpawnEntityOnGroundPos , then I'm attaching a magazine and filling it with bullets and also putting one in chamber. This works, but I need this to be on the player shoulder. I also tried ServerTakeEntityToInventory but it is working weird: it actually takes the gun to player shoulder, but player still sees it on the ground. If I reconnect to the server I see it on my shoulder.
I also tried to create the item in user inventory initially using player.GetInventory().CreateInInventory, but it has another problem: if item is created that way, chamber cannot be loaded, it shows that bullet is in the chamber, but firing is not working, trigger just clicks.
Thank you