l4d2_swarm: Remove redudant messages

This commit is contained in:
Jackzie 2021-01-18 16:01:12 -06:00
parent 1bef227e41
commit dc9fb63838
No known key found for this signature in database
GPG key ID: 1E834FE36520537A
2 changed files with 0 additions and 2 deletions

Binary file not shown.

View file

@ -234,14 +234,12 @@ public int Handle_SwarmMenuToggle(Menu menu, MenuAction action, int client, int
SwarmTarget = clickedUser;
int clientID = GetClientOfUserId(SwarmTarget);
ShowActivity(client, "toggled swarming player \"%N\" with radius %d", clientID, SwarmRadius);
PrintToChat(client, "Toggled swarm on for %N (#%d). Radius: %d", clientID, SwarmTarget, SwarmRadius);
if(timer == INVALID_HANDLE)
timer = CreateTimer(1.0, Timer_Swarm, _, TIMER_REPEAT | TIMER_FLAG_NO_MAPCHANGE);
}else{
SwarmTarget = -1;
SwarmRadius = hSwarmDefaultRange.IntValue;
PrintToChat(client, "Disabled swarm toggle.", SwarmTarget, SwarmRadius);
ReplyToCommand(client, "Deactivated swarm toggle.");
CloseHandle(timer);
timer = INVALID_HANDLE;
}