23.08.2009, 10:57
I made a code like this:
Blah...blah...blah...blah.....
Blah...blah...blah...blah.....
#define COLOR_YELLOW 0xFFFF00AA
new kelas[MAX_PLAYERS];
new ter;
new cou;
public OnFilterScriptInit()
Blah...blah...blah...blah.....
Blah...blah...blah...blah.....
public ExitTheGameMode()
{
if(ter == counter)
{
GameTextForAll("ROUND DRAW", 5000, 2);
}
else if(ter > cou)
{
GameTextForAll("TERRORIST WIN", 5000, 2);
}
else if(cou > ter)
{
GameTextForAll("COUNTER TERRORIST WIN", 5000, 2);
}
SetTimer("ExitTheGameMode2",5000,fals… // Set up a timer to exit this mode.
}
Blah....blah...blah
blah....blah....blah
I just cut it, to make it shorter. And when i compile, this is what i see:
error 017: undefined symbol "ter"
error 017: undefined symbol "ter"
error 017: undefined symbol "cou"
That's the part of the debug. Please help
Blah...blah...blah...blah.....
Blah...blah...blah...blah.....
#define COLOR_YELLOW 0xFFFF00AA
new kelas[MAX_PLAYERS];
new ter;
new cou;
public OnFilterScriptInit()
Blah...blah...blah...blah.....
Blah...blah...blah...blah.....
public ExitTheGameMode()
{
if(ter == counter)
{
GameTextForAll("ROUND DRAW", 5000, 2);
}
else if(ter > cou)
{
GameTextForAll("TERRORIST WIN", 5000, 2);
}
else if(cou > ter)
{
GameTextForAll("COUNTER TERRORIST WIN", 5000, 2);
}
SetTimer("ExitTheGameMode2",5000,fals… // Set up a timer to exit this mode.
}
Blah....blah...blah
blah....blah....blah
I just cut it, to make it shorter. And when i compile, this is what i see:
error 017: undefined symbol "ter"
error 017: undefined symbol "ter"
error 017: undefined symbol "cou"
That's the part of the debug. Please help