21.07.2009, 10:56
hey,
I have this in my script:
And I get these errors:
error 017: undefined symbol "AdMsg"
error 017: undefined symbol "AdMsg"
error 017: undefined symbol "AdMsg"
I also tried
nut it still doesn't work..
I have this in my script:
pawn Code:
#define AdMsg 1; //At the top
//This doesn't work:
public FoundBug(playerid) //Timer
{
if(strcmp(AdMsg,"1",true)==0) //Error
{
//MSG
}
else if(strcmp(AdMsg,"2",true)==0) //Error
{
//MSG
}
else if(strcmp(AdMsg,"3",true)==0) //Error
{
//MSG
}
}
error 017: undefined symbol "AdMsg"
error 017: undefined symbol "AdMsg"
error 017: undefined symbol "AdMsg"
I also tried
pawn Code:
if(AdMsg == 1)