fixed errors on 65 slot server

This commit is contained in:
BotoX 2016-02-04 00:51:56 +01:00
parent e0741d6155
commit 9dec690424
2 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@ public Plugin:myinfo =
name = "Advanced Commands",
author = "BotoX",
description = "Adds: hp, kevlar, weapon, strip, buyzone, iammo, speed",
version = "1.0",
version = "1.0.1",
url = ""
};
@ -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 <= MAXPLAYERS; 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 <= MAXPLAYERS; i++)
{
if(IsClientInGame(i))
ClientCommand(i, "playgamesound \"radio/bombdef.wav\"");

View File

@ -9,7 +9,7 @@
Handle g_hNoShakeCookie;
ConVar g_Cvar_NoShakeGlobal;
bool g_bNoShake[MAXPLAYERS] = {false, ...};
bool g_bNoShake[MAXPLAYERS + 1] = {false, ...};
bool g_bNoShakeGlobal = false;
public Plugin myinfo =
@ -17,7 +17,7 @@ public Plugin myinfo =
name = "NoShake",
author = "BotoX",
description = "Disable env_shake",
version = "1.0",
version = "1.0.1",
url = ""
};