diff --git a/README.md b/README.md index 91b65d7..746af63 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ Please note that these plugins are only guaranteed to work on Left 4 Dead **2**. Not always the latest versions. If you have any interest with a plugin, I can make sure to upload the latest. +Currently plugins are only compiled and tested with SM 1.11-6964 + Useful things: 1. **Netprop Viewer** [L4D2 Netprops](https://jackz.me/netprops/l4d2) and [L4D2 Datamaps](https://jackz.me/netprops/l4d2-data) @@ -371,6 +373,7 @@ _This plugin is not perfect, sometimes it may trigger early, or not trigger at a ### l4d2_vocalize_control A very small plugin that simply allows a player to mute another player's vocalizations only for them. +It only blocks the actual sounds, captions still show, and any follow-up vocalizations continue to play. * **Commands:** * `sm_vgag ` - Vocalize gag or ungags selected player(s) for the command activator only diff --git a/plugins/adminpanel.smx b/plugins/adminpanel.smx index db4a922..e1e7502 100644 Binary files a/plugins/adminpanel.smx and b/plugins/adminpanel.smx differ diff --git a/plugins/l4d_survivor_identity_fix.smx b/plugins/l4d_survivor_identity_fix.smx index 6acce75..704e884 100644 Binary files a/plugins/l4d_survivor_identity_fix.smx and b/plugins/l4d_survivor_identity_fix.smx differ diff --git a/scripting/adminpanel.sp b/scripting/adminpanel.sp index e363af9..0069d74 100644 --- a/scripting/adminpanel.sp +++ b/scripting/adminpanel.sp @@ -823,6 +823,7 @@ void Event_GameEnd(Event event, const char[] name, bool dontBroadcast) { // Resend all players SendPlayers(); } + g_gameState = State_None; } void Event_MapTransition(Event event, const char[] name, bool dontBroadcast) { @@ -954,7 +955,7 @@ public void OnClientAuthorized(int client, const char[] auth) { public void OnClientPutInServer(int client) { if(g_gameState == State_Transitioning) { g_gameState = State_None; - if(StartPayload()) { + if(StartPayload(true)) { AddGameRecord(); SendPayload(); } diff --git a/scripting/l4d_survivor_identity_fix.sp b/scripting/l4d_survivor_identity_fix.sp index 67fbb82..8be653e 100644 --- a/scripting/l4d_survivor_identity_fix.sp +++ b/scripting/l4d_survivor_identity_fix.sp @@ -299,7 +299,6 @@ public void OnClientCookiesCached(int client) { /////////////////////////////////////////////////////////////////////////////// //Prevent issues with L4D1 characters being TP'd and stuck in brain dead form public void OnMapStart() { - isL4D1Survivors = L4D2_GetSurvivorSetMap() == 1; survivors = 0; @@ -308,6 +307,10 @@ public void OnMapStart() { } GetCurrentMap(currentMap, sizeof(currentMap)); + RequestFrame(Frame_MapStart); +} +void Frame_MapStart() { + isL4D1Survivors = L4D2_GetSurvivorSetMap() == 1; } //Either use preferred model OR find the least-used.