prepare for 1.11 (and useless shit because 1.11 bug)
This commit is contained in:
parent
1b388d585a
commit
1a8ab9d8a9
@ -2,7 +2,6 @@
|
|||||||
#include <sdktools>
|
#include <sdktools>
|
||||||
#include <sdkhooks>
|
#include <sdkhooks>
|
||||||
#include <zombiereloaded>
|
#include <zombiereloaded>
|
||||||
#include <multicolors>
|
|
||||||
#include <hlstatsx_loghelper>
|
#include <hlstatsx_loghelper>
|
||||||
|
|
||||||
#pragma semicolon 1
|
#pragma semicolon 1
|
||||||
@ -118,4 +117,4 @@ public bool IsValidClient(int iClient)
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#include <multicolors>
|
|
||||||
#include <sourcemod>
|
#include <sourcemod>
|
||||||
#include <sdkhooks>
|
#include <sdkhooks>
|
||||||
#include <zombiereloaded>
|
#include <zombiereloaded>
|
||||||
@ -593,4 +592,4 @@ public void Cvar_Damage(ConVar convar, const char[] oldValue, const char[] newVa
|
|||||||
public void Cvar_TicksToSkip(ConVar convar, const char[] oldValue, const char[] newValue)
|
public void Cvar_TicksToSkip(ConVar convar, const char[] oldValue, const char[] newValue)
|
||||||
{
|
{
|
||||||
g_iTicksToSkip = convar.IntValue;
|
g_iTicksToSkip = convar.IntValue;
|
||||||
}
|
}
|
||||||
|
@ -1736,10 +1736,12 @@ public AdminsDone(Handle:owner, Handle:hndl, const String:error[], any:data)
|
|||||||
if (flags[i] < 'a' || flags[i] > 'z')
|
if (flags[i] < 'a' || flags[i] > 'z')
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (g_FlagLetters[flags[i]-'a'] < Admin_Reservation)
|
int flag = flags[i]-'a';
|
||||||
|
|
||||||
|
if (g_FlagLetters[flag] < Admin_Reservation)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
SetAdminFlag(curAdm, g_FlagLetters[flags[i]-'a'], true);
|
SetAdminFlag(curAdm, g_FlagLetters[flag], true);
|
||||||
}
|
}
|
||||||
++admCount;
|
++admCount;
|
||||||
}
|
}
|
||||||
@ -1813,10 +1815,12 @@ public GroupsDone(Handle:owner, Handle:hndl, const String:error[], any:data)
|
|||||||
if (grpFlags[i] < 'a' || grpFlags[i] > 'z')
|
if (grpFlags[i] < 'a' || grpFlags[i] > 'z')
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (g_FlagLetters[grpFlags[i]-'a'] < Admin_Reservation)
|
int flag = grpFlags[i]-'a';
|
||||||
|
|
||||||
|
if (g_FlagLetters[flag] < Admin_Reservation)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
SetAdmGroupAddFlag(curGrp, g_FlagLetters[grpFlags[i]-'a'], true);
|
SetAdmGroupAddFlag(curGrp, g_FlagLetters[flag], true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the group immunity.
|
// Set the group immunity.
|
||||||
@ -2554,7 +2558,7 @@ stock AdminFlag:CreateFlagLetters()
|
|||||||
stock AccountForLateLoading()
|
stock AccountForLateLoading()
|
||||||
{
|
{
|
||||||
decl String:auth[30];
|
decl String:auth[30];
|
||||||
for (new i = 1; i <= GetMaxClients(); i++)
|
for (new i = 1; i <= MaxClients; i++)
|
||||||
{
|
{
|
||||||
if (IsClientConnected(i) && !IsFakeClient(i))
|
if (IsClientConnected(i) && !IsFakeClient(i))
|
||||||
{
|
{
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user