forked from UNLOZE/sm-plugins
added convars to PlayerVisibility
fixed errors in SelfMute, StopSound and ExtraCommands added server crash prevention to SvGravityFix
This commit is contained in:
@@ -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\"");
|
||||
|
||||
Reference in New Issue
Block a user