I figured out how to find lines in sma that dont work...
Code:
public Color_Chat_Lang(id,Color:type, const msg[], {Float,Sql,Result,_}:...)
{
new message[256];
switch(type)
{
case NORMAL: // clients scr_concolor cvar color
{
message[0] = 0x01;
}
case GREEN: // Green
{
message[0] = 0x04;
}
default: // White, Red, Blue
{
message[0] = 0x03;
}
}
vformat(message[1], 251, msg, 4);
replace_colors(message,191);
ColorChat(id, type, "%s",message);
}
and
Code:
public ResetHUD(id)
{
if(is_user_alive(id) && !is_user_bot(id) && !is_user_hltv(id) )
{
if(firstshow[id]==false)
{
if( uq_airaccel==1 || uq_airaccel==100)
{
Color_Chat_Lang(id,RED,"%L",LANG_SERVER,"UQSTATS_AIRACCEL100", prefix);
}
else if( uq_airaccel==0 || uq_airaccel==10)
{
Color_Chat_Lang(id,BLUE,"%L",LANG_SERVER,"UQSTATS_AIRACCEL10", prefix);
}
else
Color_Chat_Lang(id,RED,"%L",LANG_SERVER,"UQSTATS_AIRACCEL", prefix,uq_airaccel);
firstshow[id]=true;
if(equali(mapname,"slide_gs_longjumps") || equali(mapname,"b2j_slide_longjumps"))
{
Color_Chat_Lang(id,RED,"%L",LANG_SERVER,"UQSTATS_SLIDE", prefix);
}
}
Please help?!