Raised This Month: $ Target: $400
 0% 

Setting CVAR value


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-04-2007 , 19:32   Re: Setting CVAR value
Reply With Quote #1

Use strbreak to separate the cvar name from its value. Then, most likely, you can simply use set_cvar_string whether the value is int, float, or string, since the cvar will still be retrieved by the game under the correct type.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Reply



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 22:27.


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