mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 22:13:20 +00:00
Remove debug
This commit is contained in:
parent
d3e73ddef4
commit
bc7bb3661a
2 changed files with 1 additions and 12 deletions
|
@ -13,7 +13,7 @@
|
|||
#pragma semicolon 1
|
||||
#pragma newdecls required
|
||||
|
||||
#define DEBUG 0
|
||||
//#define DEBUG 0
|
||||
|
||||
#define PLUGIN_VERSION "1.0"
|
||||
#define MAX_ENTITY_LIMIT 2000
|
||||
|
@ -110,10 +110,6 @@ public void OnPluginStart() {
|
|||
|
||||
}
|
||||
|
||||
public Action Event_Debug(Event event, const char[] name, bool dontBroadcast) {
|
||||
PrintToChatAll("EVENT | %s", name);
|
||||
}
|
||||
|
||||
/////////////////////////////////////
|
||||
/// COMMANDS
|
||||
////////////////////////////////////
|
||||
|
@ -559,13 +555,6 @@ stock bool UseExtraKit(int client) {
|
|||
return false;
|
||||
}
|
||||
|
||||
stock void GiveKit(int client) {
|
||||
int flags = GetCommandFlags("give");
|
||||
SetCommandFlags("give", flags & ~FCVAR_CHEAT);
|
||||
FakeClientCommand(client, "give first_aid_kit");
|
||||
SetCommandFlags("give", flags);
|
||||
}
|
||||
|
||||
stock void PrintDebug(const char[] format, any ... ) {
|
||||
char buffer[256];
|
||||
VFormat(buffer, sizeof(buffer), format, 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue