- Home /
Problem with identifying players in network
Hi everyone,
I'm writing simple game (FPS) with many players over network. I have problem with specyfying which of them is mine - e.g. I want to send message via RPC to everyone that player XXX got hit. Is there any standard way to do it or should I implement it on my own?
Regards, Michal
Answer by tanuj0092 · Jun 03, 2014 at 10:39 PM
Try these steps:
When xxx player gets a hit, send rpc from the xxx to the server using RPCMode.Server argument.
Then server will send a RPC to all connected players in the network using RPCMode.OthersBuffered argument
Your answer
Follow this Question
Related Questions
A name For the Character Please Help 3 Answers
Displaying players name above in multiplayer 1 Answer
Problem with RPC life 0 Answers
Multiplayer spawning issue - Can't find player 1 Answer
Photon Networking: RPC call doesn't work over other clients 0 Answers