# Spawn Actor from Client and set its variables

**URL:** <https://forums.unrealengine.com/t/spawn-actor-from-client-and-set-its-variables/216160>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [January 28, 2018, 11:28am UTC](https://forums.unrealengine.com/t/spawn-actor-from-client-and-set-its-variables/216160 "2018-01-28T11:28:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GoruptheDevel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GoruptheDevel](https://forums.unrealengine.com/u/GoruptheDevel)\
**Post date:** [January 28, 2018, 11:28am UTC](https://forums.unrealengine.com/t/spawn-actor-from-client-and-set-its-variables/216160/1 "2018-01-28T11:28:18Z")

</div>

Hello folkss!!!

Can somebody help me? save me? rescue me?

I am trying to make my client character Spawn a ammo box with what is left from it. the problem is that when i do that, even event replicated, the ammo box respaws with full ammo, not what is left from the client. i used to pass the variable but its not working, and tried to replicate the variable without sucess too.

get item stats from inventory\>spawn actor by client on server rpc \> set actor variables.
