small fix

This commit is contained in:
Felix Geyer 2004-08-07 23:07:03 +00:00
parent c7df3853d5
commit 023f9b43ea
2 changed files with 7 additions and 7 deletions

View File

@ -211,18 +211,18 @@ public cmdVoteMap(id,level,cid) {
console_print(id,"%L",id,"GIVEN_NOT_VALID",lMaps)
return PLUGIN_HANDLED
}
new menu_msg[256]
new menu_msg[256], len = 0
new keys = 0
if (g_validMaps > 1) {
keys = MENU_KEY_0
format(menu_msg,255,g_coloredMenus ? "\y%L: \w^n^n" : "%L: ^n^n",LANG_SERVER,"CHOOSE_MAP")
len = format(menu_msg,255,g_coloredMenus ? "\y%L: \w^n^n" : "%L: ^n^n",LANG_SERVER,"CHOOSE_MAP")
new temp[128]
for(new a = 0; a < g_validMaps; ++a) {
for (new a = 0; a < g_validMaps; ++a) {
format(temp,127,"%d. %s^n",a+1,g_optionName[a])
add(menu_msg,255,temp)
len += copy(menu_msg[len],255-len,temp)
keys |= (1<<a)
}
add(menu_msg,255,"^n0. None")
format(menu_msg[len],255-len,"^n0. %L",LANG_SERVER,"NONE")
g_yesNoVote = 0
}
else {

View File

@ -7,7 +7,7 @@ KNIFE_MSG_4 = %s knived %s
LAST_MSG_1 = Now all depend on you!
LAST_MSG_2 = I hope you still have a healthpack.
LAST_MSG_3 = All your teammates were killed. Good luck!
LAST_MSG_4 = Now you are alone. Have fun!"
LAST_MSG_4 = Now you are alone. Have fun!
HE_MSG_1 = %s sends a little gift to %s
HE_MSG_2 = %s throws a small present to %s
HE_MSG_3 = %s made a precision throw to %s
@ -20,7 +20,7 @@ HS_MSG_1 = $kn killed $vn with a well^nplaced shot to the head!
HS_MSG_2 = $kn removed $vn's^nhead with the $wn
HS_MSG_3 = $kn turned $vn's head^ninto pudding with the $wn
HS_MSG_4 = $vn got pwned by $kn
HS_MSG_5 = $vn's head has been^nturned into red jello",
HS_MSG_5 = $vn's head has been^nturned into red jello
HS_MSG_6 = $kn has superb aim with the $wn,^nas $vn well knows.
HS_MSG_7 = $vn's head stayed in $kn's^ncrosshairs a bit too long...
DOUBLE_KILL = Wow! %s made a double kill!!!