I am trying to do a check from a clients vgui panel where it checks the DTextEntry value if it matches a value on the server. I am using the OnTextChanged function so it gets called every time the person writes something in the DTextEntry. The reason I want to do the check on the server is because the data is sensitive ( contains passwords ) so I do not want to give the client any password information so it checks on the client.
But I wanted to know, would it be resource intensive ( server or client ) if I keep sending usermessages to the server and client or sending net messages to the server and client.
OR if you know a better way to check information on the server with data sent from the client and return something back to the client