Raised This Month: $ Target: $400
 0% 

get_cvar_num,get_pcvar_num


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 06-06-2009 , 21:07   Re: get_cvar_num,get_pcvar_num
Reply With Quote #6

Yes

g_CVARPointer = register_cvar( "the_cvar" );

Then access the value with the get_pcvar_X() functions.

You can also get a pointer for a cvar that already exists with:

g_pDLURL = get_cvar_pointer( "sv_downloadurl" );
__________________
Bugsy 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 13:47.


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