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 <sdkhooks>
|
||||
#include <zombiereloaded>
|
||||
#include <multicolors>
|
||||
#include <hlstatsx_loghelper>
|
||||
|
||||
#pragma semicolon 1
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include <multicolors>
|
||||
#include <sourcemod>
|
||||
#include <sdkhooks>
|
||||
#include <zombiereloaded>
|
||||
|
@ -1736,10 +1736,12 @@ public AdminsDone(Handle:owner, Handle:hndl, const String:error[], any:data)
|
||||
if (flags[i] < 'a' || flags[i] > 'z')
|
||||
continue;
|
||||
|
||||
if (g_FlagLetters[flags[i]-'a'] < Admin_Reservation)
|
||||
int flag = flags[i]-'a';
|
||||
|
||||
if (g_FlagLetters[flag] < Admin_Reservation)
|
||||
continue;
|
||||
|
||||
SetAdminFlag(curAdm, g_FlagLetters[flags[i]-'a'], true);
|
||||
SetAdminFlag(curAdm, g_FlagLetters[flag], true);
|
||||
}
|
||||
++admCount;
|
||||
}
|
||||
@ -1813,10 +1815,12 @@ public GroupsDone(Handle:owner, Handle:hndl, const String:error[], any:data)
|
||||
if (grpFlags[i] < 'a' || grpFlags[i] > 'z')
|
||||
continue;
|
||||
|
||||
if (g_FlagLetters[grpFlags[i]-'a'] < Admin_Reservation)
|
||||
int flag = grpFlags[i]-'a';
|
||||
|
||||
if (g_FlagLetters[flag] < Admin_Reservation)
|
||||
continue;
|
||||
|
||||
SetAdmGroupAddFlag(curGrp, g_FlagLetters[grpFlags[i]-'a'], true);
|
||||
SetAdmGroupAddFlag(curGrp, g_FlagLetters[flag], true);
|
||||
}
|
||||
|
||||
// Set the group immunity.
|
||||
@ -2554,7 +2558,7 @@ stock AdminFlag:CreateFlagLetters()
|
||||
stock AccountForLateLoading()
|
||||
{
|
||||
decl String:auth[30];
|
||||
for (new i = 1; i <= GetMaxClients(); i++)
|
||||
for (new i = 1; i <= MaxClients; i++)
|
||||
{
|
||||
if (IsClientConnected(i) && !IsFakeClient(i))
|
||||
{
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user