Quake3World.com Forums
     Programming Discussion
        Changing a client cvar value from the server?


Post new topicReply to topic
Login | Profile | | FAQ | Search | IRC




Print view Previous topic | Next topic 
Topic Starter Topic: Changing a client cvar value from the server?

Grunt
Grunt
Joined: 25 Nov 2009
Posts: 65
PostPosted: 08-29-2011 02:24 PM           Profile Send private message  E-mail  Edit post Reply with quote


Can you change a client's cvar value from the server? If I wanted to do that, is the correct way to do it to use trap_SendServerCommand(int clientNum, const char* command_string) and then go from there? Or should it be done some other way?




Top
                 

Mentor
Mentor
Joined: 12 Mar 2005
Posts: 3958
PostPosted: 08-29-2011 03:15 PM           Profile Send private message  E-mail  Edit post Reply with quote


Only if your mod controls the client and the server side. Adding a new server command is probably the easiest way to implement it.




Top
                 
Quake3World.com | Forum Index | Programming Discussion


Post new topic Reply to topic


cron
Quake3World.com
© ZeniMax. Zenimax, QUAKE III ARENA, Id Software and associated trademarks are trademarks of the ZeniMax group of companies. All rights reserved.
This is an unofficial fan website without any affiliation with or endorsement by ZeniMax.
All views and opinions expressed are those of the author.