error 052
#7

Quote:
Originally Posted by sl!x
Посмотреть сообщение
now i get two errors
PHP код:
C:\XX\XX\XX\XX.pwn(110) : error 001expected token";"but found "{"
C:\XX\XX\XX\XX.pwn(117) : error 010invalid function or declaration 
PHP код:
new TeamInfoMAX_TEAMS ][ teaminfo ] { //line 110
"Aztecas",   AZTECA_COLOR,   00000),
"Vagos",     VAGOS_COLOR,    00000),
"Ballas",    BALLA_COLOR,    00000),
"Grove",    GROVE_COLOR,    00000),
"Hoodlums",  HOODLUM_COLOR,  00000),
"Cops",      COP_COLOR,      00000)
}; 
//117 
pawn Код:
new TeamInfo[ MAX_TEAMS ][ teaminfo ] = {
AZTECA_COLOR,VAGOS_COLOR, BALLA_COLOR,GROVE_COLOR, HOODLUM_COLOR,COP_COLOR
}; //117
And youd have to add on top
#define AZTECA_COLOR then whatever the hex is.

Edit:
Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
MAX_TEAMS should be defined as 6. And keep it as you had it in your first post.

@Brandondw8: Curly brackets and Equals sign are needed.
This is an educated guess going off a new PlayerColors[200] = { i have
Reply


Messages In This Thread
error 052 - by sl!x - 19.05.2014, 10:45
Re: error 052 - by Brandondw8 - 19.05.2014, 10:49
Re: error 052 - by sl!x - 19.05.2014, 10:52
Re: error 052 - by Brandondw8 - 19.05.2014, 10:56
Re: error 052 - by sl!x - 19.05.2014, 10:59
Re: error 052 - by Konstantinos - 19.05.2014, 11:03
Re: error 052 - by Brandondw8 - 19.05.2014, 11:04
Re: error 052 - by sl!x - 19.05.2014, 11:18

Forum Jump:


Users browsing this thread: 1 Guest(s)