[C++] How do i set a function to be replicated over the network ?

I had trouble with this but then I’m a total noob.

Check out the Wiki for starters,

and doc’s about ‘RPCs’
https://docs.unrealengine.com/latest/INT/Gameplay/Networking/Replication/RPCs/index.html