Permalink
Browse files

Revert "Switch back to OnAllPluginsLoaded instead of OnConfigsExecuted"

This reverts commit 89b62c7.
  • Loading branch information...
Bara committed May 18, 2018
1 parent 041698a commit 0981059655f8984eb8f860f6f0083a3cd5d50870
Showing with 44 additions and 60 deletions.
  1. +1 −1 addons/sourcemod/scripting/ttt/ttt_blackout.sp
  2. +1 −1 addons/sourcemod/scripting/ttt/ttt_buyRoles.sp
  3. +1 −4 addons/sourcemod/scripting/ttt/ttt_c4_jihad.sp
  4. +2 −4 addons/sourcemod/scripting/ttt/ttt_decoy_body.sp
  5. +1 −4 addons/sourcemod/scripting/ttt/ttt_decoy_teleport.sp
  6. +1 −4 addons/sourcemod/scripting/ttt/ttt_dnascanner.sp
  7. +3 −0 addons/sourcemod/scripting/ttt/ttt_dronescameras.sp
  8. +1 −1 addons/sourcemod/scripting/ttt/ttt_dropWeapons.sp
  9. +1 −4 addons/sourcemod/scripting/ttt/ttt_fakebody.sp
  10. +3 −0 addons/sourcemod/scripting/ttt/ttt_futuristicgrenades.sp
  11. +1 −1 addons/sourcemod/scripting/ttt/ttt_healthshot.sp
  12. +1 −1 addons/sourcemod/scripting/ttt/ttt_iceknife.sp
  13. +1 −1 addons/sourcemod/scripting/ttt/ttt_id.sp
  14. +1 −1 addons/sourcemod/scripting/ttt/ttt_knockout.sp
  15. +1 −1 addons/sourcemod/scripting/ttt/ttt_martydom.sp
  16. +1 −1 addons/sourcemod/scripting/ttt/ttt_nightvision.sp
  17. +3 −0 addons/sourcemod/scripting/ttt/ttt_parachute.sp
  18. +1 −1 addons/sourcemod/scripting/ttt/ttt_poison_smoke.sp
  19. +1 −4 addons/sourcemod/scripting/ttt/ttt_radar.sp
  20. +1 −5 addons/sourcemod/scripting/ttt/ttt_random_teleport.sp
  21. +1 −1 addons/sourcemod/scripting/ttt/ttt_silent_awp.sp
  22. +0 −4 addons/sourcemod/scripting/ttt/ttt_sprint.sp
  23. +1 −1 addons/sourcemod/scripting/ttt/ttt_stations.sp
  24. +3 −0 addons/sourcemod/scripting/ttt/ttt_tactical_shield.sp
  25. +1 −4 addons/sourcemod/scripting/ttt/ttt_tagrenade.sp
  26. +1 −4 addons/sourcemod/scripting/ttt/ttt_taser.sp
  27. +1 −4 addons/sourcemod/scripting/ttt/ttt_teleporter.sp
  28. +1 −1 addons/sourcemod/scripting/ttt/ttt_tracer.sp
  29. +3 −0 addons/sourcemod/scripting/ttt/ttt_tripmines.sp
  30. +3 −0 addons/sourcemod/scripting/ttt/ttt_turret.sp
  31. +1 −1 addons/sourcemod/scripting/ttt/ttt_wallhack.sp
  32. +1 −1 addons/sourcemod/scripting/ttt/ttt_weapons.sp
@@ -57,7 +57,7 @@ public void OnPluginStart()
HookEvent("round_end", Event_RoundEnd);
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
SetupBlackout();
@@ -66,7 +66,7 @@ public void OnPluginStart()
TTT_EndConfig();
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -164,10 +164,7 @@ public void OnConfigsExecuted()
char sBuffer[128];
g_cPlantSeconds.GetString(sBuffer, sizeof(sBuffer));
g_iPlantSecondsCount = ExplodeString(sBuffer, ",", g_sPlantSeconds, sizeof(g_sPlantSeconds), sizeof(g_sPlantSeconds[]));
}
public void OnAllPluginsLoaded()
{
RegisterItem();
}
@@ -88,11 +88,9 @@ public void OnConfigsExecuted()
{
g_cPluginTag = FindConVar("ttt_plugin_tag");
g_cPluginTag.AddChangeHook(OnConVarChanged);
g_cPluginTag.GetString(g_sPluginTag, sizeof(g_sPluginTag));
}
g_cPluginTag.GetString(g_sPluginTag, sizeof(g_sPluginTag));
public void OnAllPluginsLoaded()
{
RegisterItem();
}
@@ -76,10 +76,7 @@ public void OnConfigsExecuted()
g_cPluginTag = FindConVar("ttt_plugin_tag");
g_cPluginTag.AddChangeHook(OnConVarChanged);
g_cPluginTag.GetString(g_sPluginTag, sizeof(g_sPluginTag));
}
public void OnAllPluginsLoaded()
{
RegisterItem();
}
@@ -55,10 +55,7 @@ public void OnConfigsExecuted()
g_cPluginTag = FindConVar("ttt_plugin_tag");
g_cPluginTag.AddChangeHook(OnConVarChanged);
g_cPluginTag.GetString(g_sPluginTag, sizeof(g_sPluginTag));
}
public void OnAllPluginsLoaded()
{
RegisterItem();
}
@@ -64,7 +64,10 @@ public void OnAllPluginsLoaded()
SetFailState("You must have this plugin as base plugin for this items: https://forums.alliedmods.net/showthread.php?p=2537127");
return;
}
}
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -89,7 +89,7 @@ public Action OnWeapon(int client, int weapon)
return Plugin_Continue;
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -84,10 +84,7 @@ public void OnConfigsExecuted()
g_cPluginTag = FindConVar("ttt_plugin_tag");
g_cPluginTag.AddChangeHook(OnConVarChanged);
g_cPluginTag.GetString(g_sPluginTag, sizeof(g_sPluginTag));
}
public void OnAllPluginsLoaded()
{
RegisterItem();
}
@@ -160,7 +160,10 @@ public void OnAllPluginsLoaded()
SetFailState("You must have this plugin as base plugin for this items: https://forums.alliedmods.net/showthread.php?p=2499362");
return;
}
}
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -83,7 +83,7 @@ public Action Event_PlayerSpawn(Event event, const char[] name, bool dontBroadca
}
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -161,7 +161,7 @@ public Action Event_PlayerSpawn(Event event, const char[] name, bool dontBroadca
}
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -122,7 +122,7 @@ public Action Event_PlayerSpawn(Event event, const char[] name, bool dontBroadca
}
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -134,7 +134,7 @@ public void OnLibraryRemoved(const char[] name)
}
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -76,7 +76,7 @@ public void OnClientDisconnect(int client)
g_bHasMartydom[client] = false;
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -45,7 +45,7 @@ public void OnPluginStart()
HookEvent("player_death", Event_PlayerDeath);
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -54,7 +54,10 @@ public void OnAllPluginsLoaded()
SetFailState("You must have this plugin as base plugin for this item: https://forums.alliedmods.net/showthread.php?p=2534158");
return;
}
}
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -57,7 +57,7 @@ public void OnPluginStart()
HookEvent("smokegrenade_expired", Event_SmokeExpired);
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -92,10 +92,7 @@ public void OnConfigsExecuted()
g_cPluginTag = FindConVar("ttt_plugin_tag");
g_cPluginTag.AddChangeHook(OnConVarChanged);
g_cPluginTag.GetString(g_sPluginTag, sizeof(g_sPluginTag));
}
public void OnAllPluginsLoaded()
{
RegisterItem();
}
@@ -88,12 +88,8 @@ public void OnConfigsExecuted()
g_cPluginTag = FindConVar("ttt_plugin_tag");
g_cPluginTag.AddChangeHook(OnConVarChanged);
g_cPluginTag.GetString(g_sPluginTag, sizeof(g_sPluginTag));
// LogToFile(g_sLog, "(OnConfigsExecuted) called!");
}
public void OnAllPluginsLoaded()
{
// LogToFile(g_sLog, "(OnAllPluginsLoaded) called!");
RegisterItem();
}
@@ -82,7 +82,7 @@ public void OnPluginStart()
AddTempEntHook("Shotgun Shot", Hook_ShotgunShot);
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -71,10 +71,6 @@ public void OnConfigsExecuted()
g_cPluginTag = FindConVar("ttt_plugin_tag");
g_cPluginTag.AddChangeHook(OnConVarChanged);
g_cPluginTag.GetString(g_sPluginTag, sizeof(g_sPluginTag));
}
public void OnAllPluginsLoaded()
{
RegisterItem();
}
@@ -89,7 +89,7 @@ public void OnMapStart()
PrecacheSoundAny(SND_WARNING, true);
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -56,7 +56,10 @@ public void OnAllPluginsLoaded()
SetFailState("You must have this plugin as base plugin for this items: https://forums.alliedmods.net/showthread.php?t=303333");
return;
}
}
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -133,10 +133,7 @@ public void OnConfigsExecuted()
{
UseTAGrenade.SetBool(true);
}
}
public void OnAllPluginsLoaded()
{
RegisterItem();
}
@@ -105,10 +105,7 @@ public void OnConfigsExecuted()
g_cPluginTag = FindConVar("ttt_plugin_tag");
g_cPluginTag.AddChangeHook(OnConVarChanged);
g_cPluginTag.GetString(g_sPluginTag, sizeof(g_sPluginTag));
}
public void OnAllPluginsLoaded()
{
RegisterItem();
}
@@ -60,10 +60,7 @@ public void OnConfigsExecuted()
g_cPluginTag = FindConVar("ttt_plugin_tag");
g_cPluginTag.AddChangeHook(OnConVarChanged);
g_cPluginTag.GetString(g_sPluginTag, sizeof(g_sPluginTag));
}
public void OnAllPluginsLoaded()
{
RegisterItem();
}
@@ -74,7 +74,7 @@ public void OnClientConnected(int client)
g_bHasTracer[client] = false;
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -54,7 +54,10 @@ public void OnAllPluginsLoaded()
SetFailState("Can't find tripmines.smx! This file will be provided with TTT.");
return;
}
}
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -56,7 +56,10 @@ public void OnAllPluginsLoaded()
g_cCheckTeam.SetInt(3);
g_cCheckTeam.AddChangeHook(ConVarChanged);
}
}
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -112,7 +112,7 @@ public void OnLibraryRemoved(const char[] name)
}
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
RegisterItem();
}
@@ -180,7 +180,7 @@ public void OnClientPutInServer(int client)
SDKHook(client, SDKHook_OnTakeDamageAlive, OnTakeDamageAlive);
}
public void OnAllPluginsLoaded()
public void OnConfigsExecuted()
{
RegisterItem();
}

0 comments on commit 0981059

Please sign in to comment.