I came across this problem while making a health bar
First Draw Actor Then:
- Code: Select all
erase(0, 0, 0, 1);
for (I=0:I<MAX_HP:I++);
{
setpen(0, 216, 28, 0, 1);
moveto(I, 0);
lineto(I, height-1);
then it says
Error line 2: Expected ;
Error line 3: Expected ;
Error line 8: Expected ;
What do I need to do??