View Single Post
ingmar13
Member
Join Date: Jun 2008
Old 06-29-2008 , 16:07   Re: Hide & Seek 3.0 + Weaponchance
Reply With Quote #25

Quote:
Originally Posted by Jon View Post
Change get_color func to this (untested):
Code:
get_color(&red, &grn, &blu, cvarid) {     new color[16], r[4], g[4], b[4];         if(cvarid == 1)         get_pcvar_string(cvar_hudcolor, color, 15)             else if(cvarid == 2)         get_pcvar_string(cvar_fadecolor, color, 15)     if(cvarid != 3)     {         parse(color, r, 3, g, 3, b, 3)         red = str_to_num(r);         grn = str_to_num(g);         blu = str_to_num(b);     }         else     {         red = random(256)         grn = random(256)         blu = random(256)     } }

thanks, but where i need to put it ?
i can't find the right place. to much get_color
. i putted some where, i have errors. i'm not a good scripter , so can u fix it for me ?

Last edited by ingmar13; 06-29-2008 at 16:13.
ingmar13 is offline