mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-07 19:13:20 +00:00
l4d2_cres_control: Add back prevention
This commit is contained in:
parent
b90aba2658
commit
59e2aac5ed
2 changed files with 2 additions and 6 deletions
|
@ -60,15 +60,11 @@ public Action Event_ButtonPress(const char[] output, int entity, int client, flo
|
|||
float activatorFlow = L4D2Direct_GetFlowDistance(client);
|
||||
|
||||
if(!IsActivationAllowed(activatorFlow, 1500.0)) {
|
||||
PrintDebug("WOULD DENY BUTTON FOR %N", client);
|
||||
PrintDebug("WOULD DENY BUTTON FOR %N", client);
|
||||
PrintDebug("WOULD DENY BUTTON FOR %N", client);
|
||||
|
||||
/*ClientCommand(client, "play ui/menu_invalid.wav");
|
||||
ClientCommand(client, "play ui/menu_invalid.wav");
|
||||
PrintToChat(client, "Please wait for players to catch up.");
|
||||
AcceptEntityInput(entity, "Lock");
|
||||
RequestFrame(Frame_ResetButton, entity);
|
||||
return Plugin_Handled;*/
|
||||
return Plugin_Handled;
|
||||
}
|
||||
lastButtonPressTime = GetGameTime();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue