mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-05 17:13:21 +00:00
Compare commits
5 commits
bf8c4e68cb
...
f2e2de6ca9
Author | SHA1 | Date | |
---|---|---|---|
f2e2de6ca9 | |||
fac3d5031e | |||
cb071178c0 | |||
b9f2d9eb07 | |||
7f5aa6a014 |
5 changed files with 9 additions and 2 deletions
|
@ -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 <player(s)>` - Vocalize gag or ungags selected player(s) for the command activator only
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue