I can't for the life of me get this figured out. I had a system where I spawn a weapon in, attach it to the player's camera (no arm models yet), and set my "CurrentWeapon" variable to the newly spawned actor.
This works great for the server, but the client can't spawn or destroy actors. Even if I do a custom even that is run on the server it won't work. This is driving me nuts! I am just trying to have a weapon system similar to classic FPS games. I press 1, I equip a pistol, 2 SMG, 3 shotgun, etc. I have everything else working so far but the weapon system is something I can't really find any information about online, especially replicated.
This works great for the server, but the client can't spawn or destroy actors. Even if I do a custom even that is run on the server it won't work. This is driving me nuts! I am just trying to have a weapon system similar to classic FPS games. I press 1, I equip a pistol, 2 SMG, 3 shotgun, etc. I have everything else working so far but the weapon system is something I can't really find any information about online, especially replicated.
Comment