Fixed napalm error. Fixed specatators/invalid players showing up in force zspawn/ztele. Fixed knife alpha (untested)

This commit is contained in:
Greyscale
2009-07-21 13:25:11 -07:00
parent 98116d08f7
commit fe5ed637cc
8 changed files with 86 additions and 50 deletions

View File

@ -222,6 +222,12 @@ RestrictOnRoundEnd()
*/
public Action:RestrictBuyCommand(client, argc)
{
// If client isn't in-game, then stop.
if (!IsClientInGame(client))
{
return Plugin_Continue;
}
// If player is a zombie, then block command.
if (InfectIsClientInfected(client))
{
@ -242,7 +248,7 @@ public Action:RestrictBuyCommand(client, argc)
// If weapon isn't configged, then allow pickup.
if (index == -1)
{
// Allow pickup.
// Allow command.
return Plugin_Continue;
}