diff --git a/plugins/L4D2Tools.smx b/plugins/L4D2Tools.smx index d5796bc..8008200 100644 Binary files a/plugins/L4D2Tools.smx and b/plugins/L4D2Tools.smx differ diff --git a/scripting/L4D2Tools.sp b/scripting/L4D2Tools.sp index 6a54802..1cf879f 100644 --- a/scripting/L4D2Tools.sp +++ b/scripting/L4D2Tools.sp @@ -488,50 +488,4 @@ stock int GetIdleBot(int client) { } } return -1; -} - -void GoIdle(int client, int onteam=0) { - Echo(2, "GoIdle: %d %d", client, onteam); - - if (GetQRecord(client)) { - int spec_target; - - // going from idle survivor to infected, leaves an icon behind - if (IsClientValid(g_target, 2, 0)) { - SwitchToBot(client, g_target); - } - - if (g_onteam == 2) { - SwitchToSpec(client); - - if (onteam == 0) { - SetHumanSpecSig(g_target, client); - } - - if (onteam == 1) { - SwitchToSpec(client); - Unqueue(client); - } - - AssignModel(g_target, g_model, g_IdentityFix); - } - - else { - SwitchToSpec(client); - } - - if (g_onteam == 3 && onteam <= 1) { - g_QRecord.SetString("model", "", true); - } - - switch (IsClientValid(g_target, 0, 0)) { - case 1: spec_target = g_target; - case 0: spec_target = GetSafeSurvivor(client); - } - - if (IsClientValid(spec_target)) { - SetEntPropEnt(client, Prop_Send, "m_hObserverTarget", spec_target); - SetEntProp(client, Prop_Send, "m_iObserverMode", 5); - } - } -} +} \ No newline at end of file