Page 1 of 1

server not allowing to change client dvars

Posted: July 11th, 2013, 6:24 pm
by pcbouncer
in my script i have like setclientdvar g_speed (whaatever) and it changes in the console, but you dont actually have different gspeed. anyone know how to get around this? please help.

Re: server not allowing to change client dvars

Posted: July 11th, 2013, 11:34 pm
by Drofder2004
g_speed is not a client dvar.

player SetMoveSpeedScale( 1.5 )

Re: server not allowing to change client dvars

Posted: July 12th, 2013, 6:01 pm
by pcbouncer
i tried that too, and it tries to work but wont. I know its possible because on "tommy"'s cj mod, he has a menu where you can change your gspeed and jumpheight on the players individually

Re: server not allowing to change client dvars

Posted: July 12th, 2013, 8:17 pm
by F |Madness| U
Could possibly be a linux server, many different things are possible on those. But as Drof said, gravity and g_speed are server dvars which would affect all players on the server.

I would advise trying to speak to this Tommy guy, and if he's not a dick he should tell you how it can be done.

Re: server not allowing to change client dvars

Posted: July 12th, 2013, 11:52 pm
by Drofder2004
Post your code.