Skip to content

Commit

Permalink
remove compiling error - g_cvarChatTag
Browse files Browse the repository at this point in the history
  • Loading branch information
originalaidn authored and nuclearsilo583 committed Oct 29, 2022
1 parent b0b4c96 commit af60593
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public Plugin myinfo =
name = "Store - Lootbox module [L4D2:Modules]",
author = "shanapu, nuclear silo", // If you should change the code, even for your private use, please PLEASE add your name to the author here
description = "",
version = "1.6", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
version = "1.7", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
url = ""
};

Expand All @@ -113,8 +113,6 @@ public void OnPluginStart()

AutoExecConfig_ExecuteFile();
AutoExecConfig_CleanFile();

if(g_cvarChatTag){}
}

public void OnMapStart()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public Plugin myinfo =
name = "Store - Lootbox module [TF2:Modules]",
author = "shanapu, nuclear silo", // If you should change the code, even for your private use, please PLEASE add your name to the author here
description = "",
version = "1.6", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
version = "1.7", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
url = ""
};

Expand All @@ -115,8 +115,6 @@ public void OnPluginStart()
AutoExecConfig_CleanFile();

HookEventEx("teamplay_win_panel", Event_End);

if(g_cvarChatTag){}
}

public void OnMapStart()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ public void OnPluginStart()
AutoExecConfig_CleanFile();

HookEventEx("teamplay_win_panel", Event_End);

if(g_cvarChatTag){}
}

public void OnMapStart()
Expand Down
5 changes: 1 addition & 4 deletions addons/sourcemod/scripting/store_gamble_crash.sp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public Plugin myinfo =
name = "Store - Crash gamble module",
author = "Emur, AiDN™, nuclear silo",
description = "Crash game Zephyrus's , nuclear silo's edited store",
version = "2.5"
version = "2.6"
};

//CVars
Expand Down Expand Up @@ -73,9 +73,6 @@ public void OnPluginStart()
AddCommandListener(Command_Say, "say_team");

HookEvent("round_end", Event_RoundEnd);

// Supress warnings about unused variables.....
if(g_cvarChatTag){}
}

public void Event_RoundEnd(Event event, char[] name, bool dontBroadcast)
Expand Down
5 changes: 1 addition & 4 deletions addons/sourcemod/scripting/store_gamble_highorlow.sp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public Plugin myinfo =
name = "High or Low",
author = "SheriF & AiDN™, nuclear silo",
description = "Higher & Lower Gamble for Zephyrus's store by SheriF, for nuclear silo's edited store by AiDN™",
version = "1.2"
version = "1.3"
};

public void OnPluginStart()
Expand All @@ -48,9 +48,6 @@ public void OnPluginStart()
g_cvWon = CreateConVar("store_hol_won", "400", "Amount of credits player won to show in public.");
g_cvCooldownTime = CreateConVar("store_cooldown_time", "30.0", "Cooldown for the high or low command. Usage: The amount of second between each try of the command . 0.0-Disable.");
AutoExecConfig(true, "highorlow", "sourcemod/store");

// Supress warnings about unused variables.....
if(g_cvarChatTag){}
}

public void Store_OnConfigExecuted(char[] prefix)
Expand Down
5 changes: 1 addition & 4 deletions addons/sourcemod/scripting/store_item_bullet_impact.sp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public Plugin myinfo =
name = "Store - Bullet impact item module",
author = "shanapu, nuclear silo, AiDN™", // If you should change the code, even for your private use, please PLEASE add your name to the author here
description = "",
version = "1.4", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
version = "1.5", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
url = ""
};

Expand All @@ -84,9 +84,6 @@ public void OnPluginStart()

OnClientCookiesCached(i);
}

// Supress warnings about unused variables.....
if(g_cvarChatTag){}
}

public void PrefMenu(int client, CookieMenuAction actions, any info, char[] buffer, int maxlen)
Expand Down
5 changes: 1 addition & 4 deletions addons/sourcemod/scripting/store_item_bulletsparks.sp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public Plugin myinfo =
name = "Store - Bulletsparks item module",
author = "shanapu, nuclear silo, AiDN™", // If you should change the code, even for your private use, please PLEASE add your name to the author here
description = "",
version = "1.3", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
version = "1.4", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
url = ""
};

Expand All @@ -68,9 +68,6 @@ public void OnPluginStart()
g_hHideCookie = new Cookie("Hide_Bullet_Spark", "Hide Bullet Spark", CookieAccess_Protected);

SetCookieMenuItem(PrefMenu, 0, "");

// Supress warnings about unused variables.....
if(g_cvarChatTag){}
}

public void PrefMenu(int client, CookieMenuAction actions, any info, char[] buffer, int maxlen)
Expand Down
5 changes: 1 addition & 4 deletions addons/sourcemod/scripting/store_item_info.sp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public Plugin myinfo =
name = "Store - Info panel item module",
author = "shanapu, nuclear silo", // If you should change the code, even for your private use, please PLEASE add your name to the author here
description = "",
version = "1.2", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
version = "1.3", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
url = ""
};

Expand All @@ -54,9 +54,6 @@ public void OnPluginStart()
Store_RegisterHandler("info","text", _, Info_Reset, Info_Config, Info_Equip, _, false, true);

LoadTranslations("store.phrases");

// Supress warnings about unused variables.....
if(g_cvarChatTag){}
}

public void Info_Reset()
Expand Down
5 changes: 1 addition & 4 deletions addons/sourcemod/scripting/store_item_particle.sp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public Plugin myinfo =
name = "Store - Particle item module",
author = "shanapu, nuclear silo, AiDN™", // If you should change the code, even for your private use, please PLEASE add your name to the author here
description = "",
version = "1.8", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
version = "1.9", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
url = ""
};

Expand Down Expand Up @@ -104,9 +104,6 @@ public void OnPluginStart()

OnClientCookiesCached(i);
}

// Supress warnings about unused variables.....
if(g_cvarChatTag){}
}

public void PrefMenu(int client, CookieMenuAction actions, any info, char[] buffer, int maxlen)
Expand Down
5 changes: 1 addition & 4 deletions addons/sourcemod/scripting/store_misc_dosh.sp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public Plugin myinfo =
name = "Store - Dosh money module",
author = "shanapu, AiDN™, nuclear silo", // If you should change the code, even for your private use, please PLEASE add your name to the author here // If you should change the code, even for your private use, please PLEASE add your name to the author here
description = "",
version = "1.2", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
version = "1.3", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
url = ""
};

Expand All @@ -51,9 +51,6 @@ public void OnPluginStart()

AutoExecConfig_ExecuteFile();
AutoExecConfig_CleanFile();

// Supress warnings about unused variables.....
if(g_cvarChatTag){}
}

public void Store_OnConfigExecuted(char[] prefix)
Expand Down
5 changes: 1 addition & 4 deletions addons/sourcemod/scripting/store_misc_lootbox.sp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public Plugin myinfo =
name = "Store - Lootbox module",
author = "shanapu, nuclear silo, AiDN™", // If you should change the code, even for your private use, please PLEASE add your name to the author here
description = "",
version = "2.0", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
version = "2.1", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
url = ""
};

Expand Down Expand Up @@ -119,9 +119,6 @@ public void OnPluginStart()
AutoExecConfig_CleanFile();

HookEvent("cs_win_panel_match", Event_End);

// Supress warnings about unused variables.....
if(g_cvarChatTag){}
}

public void OnMapStart()
Expand Down
5 changes: 1 addition & 4 deletions addons/sourcemod/scripting/store_misc_math.sp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public Plugin myinfo =
name = "Math Quiz",
author = "Arkarr & Simon & AiDN™, nuclear silo",
description = "Give credits on correct math answer, to nuclear silo's edited store by AiDN™.",
version = "1.3",
version = "1.4",
url = ""
};

Expand Down Expand Up @@ -69,9 +69,6 @@ public void OnPluginStart()

AutoExecConfig_ExecuteFile();
AutoExecConfig_CleanFile();

// Supress warnings about unused variables.....
if(g_cvarChatTag){}
}

public void OnMapStart()
Expand Down

0 comments on commit af60593

Please sign in to comment.