Raised This Month: $ Target: $400
 0% 

32-bit test v2.0


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Mlk27
Veteran Member
Join Date: May 2008
Old 03-30-2011 , 04:23   Re: 32-bit test v2.0
Reply With Quote #31

PHP Code:
public plugin_init()
{
    new 
tmp[32];
    for(new 
i=1i<33i++){
        
formatex(tmp,31,"tested32bit_%d",i);
        
p_tested32bit[i] = register_cvar(tmp,"0");
        
g_tested[i] = get_pcvar_num(p_tested32bit[i]);
    }

I don't think registering so many cvars here is necessary. Why not use nvault for this?
Mlk27 is offline
 


Thread Tools
Display Modes

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 23:40.


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