mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 14:33:21 +00:00
Fixes
This commit is contained in:
parent
8195e8914f
commit
9862a41f11
4 changed files with 6 additions and 9 deletions
|
@ -1,9 +1,8 @@
|
|||
public void OnPluginEnd() {
|
||||
UnhookEntityOutput("func_button", "OnPressed", Event_ButtonPress);
|
||||
}
|
||||
public void OnMapEnd() {
|
||||
UnhookEntityOutput("func_button", "OnPressed", Event_ButtonPress);
|
||||
public void OnConfigsExecuted() {
|
||||
hSbFixEnabled = FindConVar("sb_fix_enabled");
|
||||
hAbmAutoHard = FindConVar("abm_autohard");
|
||||
}
|
||||
|
||||
public void OnMapStart() {
|
||||
if(hBotReverseFFDefend.IntValue > 0) hSbFriendlyFire.BoolValue = true;
|
||||
AddFileToDownloadsTable("sound/custom/meow1.mp3");
|
||||
|
|
|
@ -474,6 +474,6 @@ void StopHealingBots() {
|
|||
KickClient(i);
|
||||
}
|
||||
}
|
||||
hAbmAutoHard.IntValue = wasAbmAutoHard;
|
||||
hSbFixEnabled.BoolValue = wasSbFixEnabled;
|
||||
if(hAbmAutoHard != null) hAbmAutoHard.IntValue = wasAbmAutoHard;
|
||||
if(hSbFixEnabled != null) hSbFixEnabled.BoolValue = wasSbFixEnabled;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue