[HELP] 4 quick errors
#1

okay so let me get to the point. I have 4 errors when I compiled my script with a wanted level star-based system. the error is in this line:

pawn Код:
for (i = 0; i <sizeof(g_aStarTextDraws); i++ )
before this code is a piece of variable(s) that might interest you/might also interfere?:

pawn Код:
new i,
                #if STARS_PER_ROW > 6
                        col = 7,
                        row = 0
                #else
                        col = 1,
                        row = 1
                #endif
        ;
the errors I get are on the first line I posted, these are the errors:

Код:
C:\Users\owner\Desktop\Counter-Strike\gamemodes\SFCRRPG.pwn(2320) : error 017: undefined symbol "g_aStarTextDraws"
C:\Users\owner\Desktop\Counter-Strike\gamemodes\SFCRRPG.pwn(2320) : error 036: empty statement
C:\Users\owner\Desktop\Counter-Strike\gamemodes\SFCRRPG.pwn(2320) : error 001: expected token: ";", but found ")"
C:\Users\owner\Desktop\Counter-Strike\gamemodes\SFCRRPG.pwn(2320) : fatal error 107: too many error messages on one line
Any ideas?
Reply
#2

Код:
error 017: undefined symbol "g_aStarTextDraws"
pawn Код:
//means that you didnt defined g_aStarTextDraws add at the top of your script but under the includes:

new g_aStarTextDraws;
Reply
#3

Quote:
Originally Posted by xerox8521
Посмотреть сообщение
Код:
error 017: undefined symbol "g_aStarTextDraws"
pawn Код:
//means that you didnt defined g_aStarTextDraws add at the top of your script but under the includes:

new g_aStarTextDraws;
AND

remove the ; from for (i = 0; i <sizeof(g_aStarTextDraws); i++ )

pawn Код:
for (i = 0; i <sizeof(g_aStarTextDraws) i++ )
Reply
#4

Quote:
Originally Posted by xerox8521
Посмотреть сообщение
Код:
error 017: undefined symbol "g_aStarTextDraws"
pawn Код:
//means that you didnt defined g_aStarTextDraws add at the top of your script but under the includes:

new g_aStarTextDraws;
Quote:
Originally Posted by Hal
Посмотреть сообщение
AND

remove the ; from for (i = 0; i <sizeof(g_aStarTextDraws); i++ )

pawn Код:
for (i = 0; i <sizeof(g_aStarTextDraws) i++ )
thanks you 2 (;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)