Hello, i installed mam on my comp for a rented server, all work fine but i have an error on log:
0:00 [27.02.13 01:40:26] PHP-Error: Notice in :\adminmod\classes\mod.class.php:285 => Undefined index: scr_axis
0:00 [27.02.13 01:40:26] PHP-Error: Notice in :\adminmod\classes\mod.class.php:286 => Undefined index: scr_allies
0:00 [27.02.13 01:40:26] PHP-Error: Notice in :\adminmod\classes\mod.class.php:287 => Undefined index: scr_allies
0:00 [27.02.13 01:40:26] PHP-Error: Notice in :\adminmod\classes\mod.class.php:287 => Undefined index: scr_axis
Here are the lines 281 to 289:
public function updateTeamNames() {
//Get team names
if (in_array($this->getGame(), array("cod4", "cod5"))) {
$teamnames = $this->rconDvarList("scr_a*s");
$this->teamnames["axis"] = $teamnames["scr_axis"];
$this->teamnames["allies"] = $teamnames["scr_allies"];
$this->logging->write(MOD_NOTICE, "Updated teamnames ($teamnames[scr_allies] vs. $teamnames[scr_axis])");
return;
}
Everything work exept that error spam on my logs..., any idea to fix it please?
2nd point; as deathrun have a vote map on the end of maps, i want to delete the spamming message about the next map if possible... (cause realy useless for me and spam too much the chat)
This message i mean: "next map is mp_dr_xxxxxxxx, !skip to skip the map................."
Thanks per advance.