1.1 --- a/plugins/mapchooser.sp Sun Mar 13 14:03:33 2011 -0400
1.2 +++ b/plugins/mapchooser.sp Sun Mar 20 19:37:25 2011 -0400
1.3 @@ -281,7 +281,7 @@
1.4 }
1.5
1.6 ShowActivity(client, "%t", "Changed Next Map", map);
1.7 - LogMessage("\"%L\" changed nextmap to \"%s\"", client, map);
1.8 + LogAction(client, -1, "\"%L\" changed nextmap to \"%s\"", client, map);
1.9
1.10 SetNextMap(map);
1.11 g_MapVoteCompleted = true;
1.12 @@ -644,7 +644,7 @@
1.13 SetMenuExitButton(g_VoteMenu, false);
1.14 VoteMenuToAll(g_VoteMenu, voteDuration);
1.15
1.16 - LogMessage("Voting for next map has started.");
1.17 + LogAction(-1, -1, "Voting for next map has started.");
1.18 PrintToChatAll("[SM] %t", "Nextmap Voting Started");
1.19 }
1.20
1.21 @@ -705,7 +705,7 @@
1.22 }
1.23
1.24 PrintToChatAll("[SM] %t", "Current Map Extended", RoundToFloor(float(item_info[0][VOTEINFO_ITEM_VOTES])/float(num_votes)*100), num_votes);
1.25 - LogMessage("Voting for next map has finished. The current map has been extended.");
1.26 + LogAction(-1, -1, "Voting for next map has finished. The current map has been extended.");
1.27
1.28 // We extended, so we'll have to vote again.
1.29 g_HasVoteStarted = false;
1.30 @@ -716,7 +716,7 @@
1.31 else if (strcmp(map, VOTE_DONTCHANGE, false) == 0)
1.32 {
1.33 PrintToChatAll("[SM] %t", "Current Map Stays", RoundToFloor(float(item_info[0][VOTEINFO_ITEM_VOTES])/float(num_votes)*100), num_votes);
1.34 - LogMessage("Voting for next map has finished. 'No Change' was the winner");
1.35 + LogAction(-1, -1, "Voting for next map has finished. 'No Change' was the winner");
1.36
1.37 g_HasVoteStarted = false;
1.38 CreateNextVote();
1.39 @@ -745,7 +745,7 @@
1.40 g_MapVoteCompleted = true;
1.41
1.42 PrintToChatAll("[SM] %t", "Nextmap Voting Finished", map, RoundToFloor(float(item_info[0][VOTEINFO_ITEM_VOTES])/float(num_votes)*100), num_votes);
1.43 - LogMessage("Voting for next map has finished. Nextmap: %s.", map);
1.44 + LogAction(-1, -1, "Voting for next map has finished. Nextmap: %s.", map);
1.45 }
1.46 }
1.47
1.48 @@ -1048,7 +1048,7 @@
1.49 new MapChange:when = MapChange:GetNativeCell(1);
1.50 new Handle:inputarray = Handle:GetNativeCell(2);
1.51
1.52 - LogMessage("Starting map vote because outside request");
1.53 + LogAction(-1, -1, "Starting map vote because outside request");
1.54 InitiateVote(when, inputarray);
1.55 }
1.56