AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   how to remember cvar string (https://forums.alliedmods.net/showthread.php?t=226205)

avril-lavigne 09-14-2013 18:55

how to remember cvar string
 
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

Black Rose 09-14-2013 19:41

how to remember cvar string
 
It's already saved in "cvar". If you want the information in another function just make the variable global.

avril-lavigne 09-15-2013 06:17

Re: how to remember cvar string
 
ok .


All times are GMT -4. The time now is 18:54.

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