How do I assign a particular key in an array to a player i.d?

I am using Photon Networking in Unity and I am having trouble trying to get 4 players to type answers which all get stored into an array.

I have 5 players, the master client is always ‘host’ of the chat room.
4 players then have to answer the question which the host sends.

What i need to do is say,

if (PhotonNetwork.Player.ID == 2)
{
answer[0] = input field etc etc
}

How do I say if the player.ID is equal to a particular I.D (I’m trying to get that user’s particular answer).

Sorry it’s really hard to explain, any pointers would be very welcome! Thank you!

I think I know what you’re getting at. NetworkViewIDs are a set of 3 nums or something like that. So whe you Debug them, or turn it to a string, it ends up as 0,1,2, ec. Your best bet would be to store the playerIDs form Network.connections in an array on the server side. Then you can compare who sent the RPC to the array of stored IDs. You can turn them to strings or compare them as is.