22.01.2010, 14:55
I don't see a problem here, but it might be one of those:
1. Big Letters, Small Letters. I don't know if the default value of the ignorecase is "true" or "false", try adding it.
2. Maybe you've got a space, e.g. at the beginning or the end of the country string.
3. Maybe you've got a problem in GetPlayerCountry.
ACTUALLY the most is not possible, because it prints "Lithuania" correct.
Try this, if you didn't before. It actually does same, as yours does, but maybe you just try .
Any other ideas i can't give from my side, it all looks okay to me...
Cheerz
1. Big Letters, Small Letters. I don't know if the default value of the ignorecase is "true" or "false", try adding it.
2. Maybe you've got a space, e.g. at the beginning or the end of the country string.
3. Maybe you've got a problem in GetPlayerCountry.
ACTUALLY the most is not possible, because it prints "Lithuania" correct.
Try this, if you didn't before. It actually does same, as yours does, but maybe you just try .
pawn Код:
if(strcmp(country,"Lithuania",true,sizeof(country))==0)
Cheerz