Multiplayer : make the bullet owned by the client?

Instead of setting owner to be client (security and cheating risk), you can simply set the instigator of the bullet to be the client / pawn that shot the bullet.

Hello i explain my problem : How to make my bullet (projectile) owned by the client for determine who give the damage ?

In my situation, a bullet (spawnactor) by x client hit the enemie and give hit 1 score point. I want the score belong to him, not another client or all.

How do to that please ? I searched long time …

Maybe you can assign an index to each player and assign the same index to every bullet that player fires. And on hit just check the bullet index and you’ll see whose bullet that is.

Wow, that’s the fastest good answer i have ever seen !

I test it, and it works ! Thank you it’s unbelievable :slight_smile: