Hi, I tried to do this:
736: for( int [B]i[/B] = 32; [B]i[/B] >= 32 && [B]i[/B] <= 48; [B]i[/B]++ )
737: {
738: CG_DrawPic( icon_pos[0] - (icon_extends[0]*0.5f), icon_pos[1] - (icon_extends[1]*0.5f), [B]i[/B],[B] i[/B], pic );
739: }
and got these errors:
src\cgame\cg_commandmap.c(736) : error C2143: syntax error : missing ';' before 'type'
src\cgame\cg_commandmap.c(736) : error C2143: syntax error : missing ';' before 'type'
src\cgame\cg_commandmap.c(736) : error C2143: syntax error : missing ')' before 'type'
src\cgame\cg_commandmap.c(736) : error C2143: syntax error : missing ';' before 'type'
src\cgame\cg_commandmap.c(736) : error C2065: 'i' : undeclared identifier
src\cgame\cg_commandmap.c(736) : error C2065: 'i' : undeclared identifier
src\cgame\cg_commandmap.c(736) : error C2065: 'i' : undeclared identifier
src\cgame\cg_commandmap.c(736) : error C2059: syntax error : ')'
src\cgame\cg_commandmap.c(737) : error C2143: syntax error : missing ';' before '{'
src\cgame\cg_commandmap.c(738) : error C2065: 'i' : undeclared identifier
src\cgame\cg_commandmap.c(738) : error C2065: 'i' : undeclared identifier
where I made a mistake?
I hope for answer. Thank you.


