added convars to PlayerVisibility

fixed errors in SelfMute, StopSound and ExtraCommands
added server crash prevention to SvGravityFix
This commit is contained in:
BotoX
2016-05-08 23:03:46 +02:00
parent eaec96f084
commit 574eba7ee5
6 changed files with 93 additions and 33 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ public Action Listener_Pause(int client, const char[] command, int argc)
public Action:Event_BombPlanted(Handle:event, const String:name[], bool:dontBroadcast)
{
for(new i = 1; i <= MAXPLAYERS; i++)
for(new i = 1; i <= MaxClients; i++)
{
if(IsClientInGame(i))
ClientCommand(i, "playgamesound \"radio/bombpl.wav\"");
@@ -103,7 +103,7 @@ public Action:Event_BombPlanted(Handle:event, const String:name[], bool:dontBroa
public Action:Event_BombDefused(Handle:event, const String:name[], bool:dontBroadcast)
{
for(new i = 1; i <= MAXPLAYERS; i++)
for(new i = 1; i <= MaxClients; i++)
{
if(IsClientInGame(i))
ClientCommand(i, "playgamesound \"radio/bombdef.wav\"");