View Single Post
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 05-17-2009 , 15:02   Re: [INC] ScreenFade Util
Reply With Quote #7

Quote:
Originally Posted by {PHILMAGROIN} View Post
yes i know. but if you wanted to make a cvar so you could change those ingame. you couldn't with this correct?
Like this?
PHP Code:
new gCvar];
public 
plugin_init( ) 
{
    
gCvar] = register_cvar"color_red""100" );
    
gCvar] = register_cvar"color_green""255" );
    
gCvar] = register_cvar"color_blue""0" );
}
funcid )
{
    new 
iColor];
    
iColor] = get_pcvar_numgCvar] );
    
iColor] = get_pcvar_numgCvar] );
    
iColor] = get_pcvar_numgCvar] );
    
UTIL_ScreenFadeidiColor1.0....... );


Last edited by SnoW; 05-17-2009 at 15:06.
SnoW is offline
Send a message via MSN to SnoW