DeadlyBOFH Posted October 3, 2002 Posted October 3, 2002 If i wanted the server to read a cvar on the clientside that i've created, lets say: cg_adminpass, how would I do so. I've already tried trap_GetUserinfo. and it has not worked. Id like it to be able to compare cg_adminpass on the client and g_adminpass on the server.. This way an admin doesnt have to enter their password every time. if anyone has any insight on how to read this cvar from the client into the server, please post a reply to this message. I've read the resources and readmes in the thread in this forum, and they were useless.
Tchouky Posted October 3, 2002 Posted October 3, 2002 damn bofh, when you cut and paste code for your mod do you actually read it sometimes ??? there are PLENTY of examples in the code i wrote for the sabers and dest's code too.... just create a CVAR_USERINFO on the client and in the g_clients in : ClientUserinfoChanged use : Info_ValueForKey and you'll have it ....
DeadlyBOFH Posted October 3, 2002 Author Posted October 3, 2002 Tchouky; already tried that... doesnt work right for some reason.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.