NetworkServer - SendToClient not working

Hi,

I am trying to use the NetworkServer.SendToClient function but it is not working.

What is weird is that SendToAll function trigger the handle on the client (works).

Connection ID of the second client is 1 (i verified) so just for testing purpose i tried calling the function like so:

DOES NOT WORK

NetworkServer.SendToClient(1, MSG_usedDrivers, m_driverList);

WORK

NetworkServer.SendToAll(MSG_usedDrivers, m_driverList);


Anyone have a solution for this?

I would like to send info to single client, not having every client receive the info for nothing…

Thanks

Try using NetworkServer.SendToClientOfPlayer(, MsgType., Msg)… this will inform the only remote client with the given player.