# Weapon Variables Not Replicating When Weapon is Dropped

**URL:** <https://forums.unrealengine.com/t/weapon-variables-not-replicating-when-weapon-is-dropped/629054>\
**Category:** Multiplayer & Networking\
**Tags:** weapon, replicate, weapon-system, unreal-engine, Blueprint, replicating\
**Created:** [August 15, 2022, 8:24pm UTC](https://forums.unrealengine.com/t/weapon-variables-not-replicating-when-weapon-is-dropped/629054 "2022-08-15T20:24:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DynaZ\_II\_Spreeds](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dynaz_ii_spreeds/32/561506_2.png) [@DynaZ\_II\_Spreeds](https://forums.unrealengine.com/u/DynaZ_II_Spreeds)\
**Post date:** [August 15, 2022, 8:24pm UTC](https://forums.unrealengine.com/t/weapon-variables-not-replicating-when-weapon-is-dropped/629054/1 "2022-08-15T20:24:28Z")

</div>

Hi there!

```
 I have been trying to figure out a replication problem. I am making an FPS and I want to drop a weapon and then store the stats into the dropped weapon on begin play. This is what it looks like.

```

**Drop:** (Spawns the actor of the equipped gun)

 ![1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/1/3b10a94b2c150bdb4ac68d10fa3c6ef5ed9d2577.jpeg)

**Store Values:** (This stores the values from my weapon base blueprint into the weapon being dropped)

 ![2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/2/24284612470913807fdeb515cf521a8364f7de18.jpeg)

**Overlap Print:** (This prints the gun stats when my first person character overlaps)

 ![3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/1/9/51915dc49688e8bbdf1f35e2702520f4e3aaa9db.jpeg)  
 ![4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/9/299ec78ab403e8105498b5f746c7fce37a7119ae.jpeg)

**Problem:**  
Say that the server shoots all the ammo in the magazine and then drops the weapon. The client can pick up the weapon and all the stats are perfectly fine:

**Server Shoot** (Server shoots all ammo in mag)

 ![5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/1/171ff8432f63583d0d200734c8087859cd1955a8.jpeg)

**Client Pick Up**

 ![6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/a/bea273ef0278b15fc399657afc42821b3aeeed63.jpeg)

```
 But now, let say that the client shoots all the ammo in the magazine and then drops the weapon. The server picks up a new gun and can't seem to read the variables that the client sets.

```

**Client Shoot** (Client shoots all ammo in mag)

 ![6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/a/bea273ef0278b15fc399657afc42821b3aeeed63.jpeg)

**Server Pick Up**

 ![7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/2/4b2e5b037d017536b48916cde8396507e8bfac25.jpeg)

```
 Here are the overlap print statements:

```

The Server Drops the Weapon and the Server Overlaps:  
 ![server drop print](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/f/a8f5dd6baddabfcb5703337af865159a6b9d91d3.jpeg)

The Server Drops the Weapon and the Client Overlaps:  
 ![client overlaps server](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/0/f/40f1458ef1129a837eddec880b143c7cf62908a2.jpeg)

The Client Drops the Weapon and the Client Overlaps:  
 ![client drop print](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/d/8bd474c5edfe4a8d1e984e4bca18a29b6c4c3260.jpeg)

The Client Drops the Weapon and the Server Overlaps: **NOTE: Issue**  
 ![server overlaps client](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/8/ec8d3e15c4e3fd97c205cc85ef12e8f53aa83d94.jpeg)

I know that this is a lot to look through, but any help would be greatly appreciated. Thank you!
