Raised This Month: $ Target: $400
 0% 

how to remember cvar string


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 09-14-2013 , 18:55   how to remember cvar string
Reply With Quote #1

Lets say I want to remember certain cvar string

new cvar[64]
get_cvar_string("sv_sownloadurl",cvar,63)

than I want to change downloadurl to new address and go back to 1st url.

how to save temporarily 1st adress for the future use
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 09-14-2013 , 19:41   how to remember cvar string
Reply With Quote #2

It's already saved in "cvar". If you want the information in another function just make the variable global.
__________________
Black Rose is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 09-15-2013 , 06:17   Re: how to remember cvar string
Reply With Quote #3

ok .
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne 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 18:54.


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