Skip to content

Commit 6662387

Browse files
authored
lang: allow change color for MAPM_NEXTMAP (#54)
1 parent ea16f0d commit 6662387

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

cstrike/addons/amxmodx/data/lang/mapmanager.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ MAPM_TIME_TO_END = Until map end left
55
MAPM_TIMELEFT_OR = or
66
MAPM_NO_TIMELIMIT = Map has no time limit.
77
MAPM_THETIME = Current time^1:^4 %s^1.
8-
MAPM_NEXTMAP = Next map:
8+
MAPM_NEXTMAP = Next map:^3
99
MAPM_NOT_SELECTED = not selected
1010
MAPM_CURRENT_MAP = Current map:^3 %s^1.
1111
MAPM_RTV_DELAY = You cant vote for rtv. Left:^3 %d:%02d^1.
@@ -58,7 +58,7 @@ MAPM_TIME_TO_END = do konca mapy pozostalo
5858
MAPM_TIMELEFT_OR = lub
5959
MAPM_NO_TIMELIMIT = Brak limitu czasowego.
6060
MAPM_THETIME = Aktualna godzina^1:^4 %s^1.
61-
MAPM_NEXTMAP = Nastepna mapa:
61+
MAPM_NEXTMAP = Nastepna mapa:^3
6262
MAPM_NOT_SELECTED = nie wybrano
6363
MAPM_CURRENT_MAP = Aktualna mapa:^3 %s^1.
6464
MAPM_RTV_DELAY = Nie mozna glosowac na zmiane mapy. Pozostalo:^3 %d:%02d^1.
@@ -111,7 +111,7 @@ MAPM_TIME_TO_END = До конца карты осталось
111111
MAPM_TIMELEFT_OR = либо
112112
MAPM_NO_TIMELIMIT = Карта не ограничена по времени.
113113
MAPM_THETIME = Текущее время^1:^4 %s^1.
114-
MAPM_NEXTMAP = Следующая карта:
114+
MAPM_NEXTMAP = Следующая карта:^3
115115
MAPM_NOT_SELECTED = ещё не выбрана
116116
MAPM_CURRENT_MAP = Текущая карта:^3 %s^1.
117117
MAPM_RTV_DELAY = Вы не можете голосовать за досрочную смену карты. Осталось:^3 %d:%02d^1.

cstrike/addons/amxmodx/scripting/map_manager_informer.sma

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ public clcmd_nextmap(id)
104104
{
105105
if(is_vote_finished()) {
106106
new map[MAPNAME_LENGTH]; get_pcvar_string(g_pCvars[NEXTMAP], map, charsmax(map));
107-
client_print_color(0, id, "%s^1 %L ^3%s^1.", g_sPrefix, LANG_PLAYER, "MAPM_NEXTMAP", map);
107+
client_print_color(0, id, "%s^1 %L %s^1.", g_sPrefix, LANG_PLAYER, "MAPM_NEXTMAP", map);
108108
} else {
109-
client_print_color(0, id, "%s^1 %L ^3%L^1.", g_sPrefix, LANG_PLAYER, "MAPM_NEXTMAP", LANG_PLAYER, "MAPM_NOT_SELECTED");
109+
client_print_color(0, id, "%s^1 %L %L^1.", g_sPrefix, LANG_PLAYER, "MAPM_NEXTMAP", LANG_PLAYER, "MAPM_NOT_SELECTED");
110110
}
111111
}
112112
public clcmd_currentmap(id)

cstrike/addons/amxmodx/scripting/map_manager_rtv.sma

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public clcmd_rtv(id)
8282
return PLUGIN_HANDLED;
8383
}
8484
else if(is_vote_finished()) {
85-
client_print_color(id, print_team_default, "%s^1 %L %L^3 %s.", g_sPrefix, id, "MAPM_VOTE_ALREADY_FINISHED", id, "MAPM_NEXTMAP", g_sNextMap);
85+
client_print_color(id, print_team_default, "%s^1 %L %L %s^1.", g_sPrefix, id, "MAPM_VOTE_ALREADY_FINISHED", id, "MAPM_NEXTMAP", g_sNextMap);
8686
return PLUGIN_HANDLED;
8787
}
8888
else if(is_vote_will_in_next_round()) {

cstrike/addons/amxmodx/scripting/map_manager_scheduler.sma

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ public event_newround()
391391
client_print_color(0, print_team_default, "%s^1 %L", g_sPrefix, LANG_PLAYER, "MAPM_FINAL_ROUND");
392392
} else {
393393
new nextmap[MAPNAME_LENGTH]; get_string(NEXTMAP, nextmap, charsmax(nextmap));
394-
client_print_color(0, print_team_default, "%s^1 %L^3 %s^1.", g_sPrefix, LANG_PLAYER, "MAPM_NEXTMAP", nextmap);
394+
client_print_color(0, print_team_default, "%s^1 %L %s^1.", g_sPrefix, LANG_PLAYER, "MAPM_NEXTMAP", nextmap);
395395
intermission();
396396
}
397397
}
@@ -615,7 +615,7 @@ public mapm_vote_finished(const map[], type, total_votes)
615615
if(!total_votes) {
616616
client_print_color(0, print_team_default, "%s^1 %L %L", g_sPrefix, LANG_PLAYER, "MAPM_NOBODY_VOTE", LANG_PLAYER, "MAPM_NEXTMAP_BY_VOTE", map);
617617
} else {
618-
client_print_color(0, print_team_default, "%s^1 %L^3 %s^1.", g_sPrefix, LANG_PLAYER, "MAPM_NEXTMAP", map);
618+
client_print_color(0, print_team_default, "%s^1 %L %s^1.", g_sPrefix, LANG_PLAYER, "MAPM_NEXTMAP", map);
619619
}
620620

621621
set_pcvar_string(g_pCvars[NEXTMAP], map);

0 commit comments

Comments
 (0)