AntiLenny: fix last commit
put on the wrong spot xD
This commit is contained in:
parent
7163035a62
commit
6acd0a59db
@ -58,7 +58,7 @@ public void ShowSettingsMenu(int client)
|
||||
menu.SetTitle("AntiLenny Settings", client);
|
||||
|
||||
char sBuffer[128];
|
||||
Format(sBuffer, sizeof(sBuffer), "Hiding Lennies: %s", g_bHideLennies[client] ? "Enabled." : "Disabled.");
|
||||
Format(sBuffer, sizeof(sBuffer), "Hiding Lennies: %s", g_bHideLennies[client] ? "Enabled" : "Disabled");
|
||||
|
||||
menu.AddItem("0", sBuffer);
|
||||
|
||||
@ -135,7 +135,7 @@ public void ToggleLennies(int client)
|
||||
g_bHideLennies[client] = !g_bHideLennies[client];
|
||||
|
||||
SetClientCookie(client, g_hCookieHideLennies, g_bHideLennies[client] ? "1" : "");
|
||||
CPrintToChat(client, "{cyan}[AntiLenny] {white}%s", g_bHideLennies[client] ? "Lennies are now hidden" : "Lennies are not hidden anymore");
|
||||
CPrintToChat(client, "{cyan}[AntiLenny] {white}%s", g_bHideLennies[client] ? "Lennies are now hidden." : "Lennies are not hidden anymore.");
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user