Compare commits
3 Commits
6a0b75ed61
...
25bd355215
Author | SHA1 | Date | |
---|---|---|---|
|
25bd355215 | ||
|
00a9047c0f | ||
|
207645e542 |
@ -177,6 +177,9 @@ public Action OnTakeDamage(int victim, int &attacker, int &inflictor, float &dam
|
||||
if(!IsPlayerAlive(victim))
|
||||
return Plugin_Continue;
|
||||
|
||||
if(!IsPlayerAlive(attacker))
|
||||
return Plugin_Continue;
|
||||
|
||||
if(!g_bKnifeBan)
|
||||
return Plugin_Continue;
|
||||
|
||||
@ -552,7 +555,7 @@ public void OpenKnifebanlistMenu(int client)
|
||||
menu.Display(client, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
public int MenuHandler_MainMenu(Menu menu, MenuAction action, int client, int selection)
|
||||
public void MenuHandler_MainMenu(Menu menu, MenuAction action, int client, int selection)
|
||||
{
|
||||
switch(action)
|
||||
{
|
||||
@ -644,7 +647,7 @@ public void OpenKnifebanlistOfTheClient(int client, char sBuffer[32])
|
||||
menuclient.Display(client, MENU_TIME_FOREVER);
|
||||
}
|
||||
|
||||
public int MenuHandler_ClientMenu(Menu menuclient, MenuAction action, int client, int selection)
|
||||
public void MenuHandler_ClientMenu(Menu menuclient, MenuAction action, int client, int selection)
|
||||
{
|
||||
switch(action)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user