Hmm now it works, but I noticed something. I think the previous map played has something to do with it. I changed the map to conc_sand and it worked fine. But I typed rcon sv_teamgoals in the console and "BR" came back. Since the map has no config setting for sv_teamgoals it should be "BRYG" right? Earlier when it didn't work, maybe the map before conc_sand didn't have the blue team in there.
PS: I'm usin Windows
EDIT: I found out what it was. When registering PCVARs, they stay active between mapchanges. I changed the goalteams of a certain config to YG. Then I loaded that map and sv_goalteams was YG. Then I changed it to a map whose config had no setting for sv_goalteams, and it was still YG. I added this line right under the register_cvar call for sv_goalteams:
Code:
set_cvar_string("sv_goalteams", "bryg")
and it didn't do it anymore. Seems like a bug in AMXX, it should be setting that CVAR to the default value but it's not. It sets it correctly if it doesn't already exist, but if it is there from a previous map, it doesn't set the default.