Raised This Month: $ Target: $400
 0% 

Get cvar value and set it to other cvar value + number


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
_Master_
Senior Member
Join Date: Dec 2006
Old 10-19-2007 , 06:21   Re: Get cvar value and set it to other cvar value + number
Reply With Quote #7

1. Get cvar values
2. If cvar to set is server-side then do a set_pcvar_*() - this would work because get_cvar_pointer did not fail. If the cvar is client-side then do a client_cmd( id, "%s %X", cvar_name, new_cvar_value )
_Master_ is offline
 



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:16.


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