how can i simply show projectile in server multiplayer with c++

hi, im trying to make the first person projectile show in clients window and basically its not showing the client but only on server, and the problem is that the spawning section is in a skeletalcomponent which i dont know how i should work around this, i cant use “hasAuthority” function to check with and dont know what to use, either i have missed it but i havent seen any solution for this.

im working with unreal 5 (for specific 5.2) and the project is made in c++ so i dont see any blueprint