Page 1 of 1

player dvar

Posted: August 20th, 2013, 3:52 am
by pcbouncer
Not sure if this is a stupid question or not; is there a command or way to get a "player" dvar? I know you can set player dvars easily.

thanks
-pcbouncer

Re: player dvar

Posted: August 20th, 2013, 9:48 am
by F |Madness| U
Unfortunately not. Well not simply anyway, perhaps there is another way though. Since in promod it detects when you have >250fps doesn't it? (Used to then give you blurry screen/noise).

Re: player dvar

Posted: August 20th, 2013, 2:50 pm
by pcbouncer
there must be a way if you can set it so easily? it makes no sense

Re: player dvar

Posted: August 20th, 2013, 3:30 pm
by F |Madness| U
If you're just wanting to force a certain dvar, just put it in a loop on that player so it will constantly set that dvar to a certain value, but yeah it is rather odd that you can't getClientDvar.

Re: player dvar

Posted: August 20th, 2013, 3:34 pm
by pcbouncer
but i have to actually know a dvar... it's quite important

Re: player dvar

Posted: August 20th, 2013, 9:05 pm
by F |Madness| U
I saw your post on Braxi forums, I guess the only way is by using that weird menu file technique, my bet would be to try and look into that if it's absolutely necessary to know a certain dvar. Just wondering, what is the dvar/why is it needed? There may be another way around it as there are a few people with very advanced knowledge in codscript around here.

Re: player dvar

Posted: August 22nd, 2013, 3:04 am
by pcbouncer
well the original purpose is for a script I'm writing in my new map. If i told you what it was you probably wouldn't believe me. Anyways i need it for some other general reasons.