Raised This Month: $ Target: $400
 0% 

Trouble on Getting a Client Cvar?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
alien
Senior Member
Join Date: Aug 2005
Location: London || Slovakia
Old 10-15-2007 , 21:57   Re: Trouble on Getting a Client Cvar?
Reply With Quote #11

The problem is that zoom_sensitivity_ratio is a client cvar. It cannot be retrieved with get_user_info. By get_user_info, you can retrieve any information from setinfo structure (which can be viewed by using setinfo command).

Field rate is a part of setinfo structure - that's why it's possible to get it.

This issue is very simmilar to the one with fps_max cvar. Many think that it's possible to get this value with this function (as it's written in example in funcwiki) - but it's meretricious disinformation.

I suggest using THIS function instead. I have no experience with it.
Edit: And as I read previous posts, it was suggested already. You should read carefully what they advice you. The way you're doing it won't work.
__________________

Last edited by alien; 10-15-2007 at 22:02.
alien is offline
Send a message via ICQ to alien
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode