forked from UNLOZE/sm-plugins
Added python scripts for easier compiling
Fixed bunch of includes and a warnings Added ip addresses for admins to status KnifeAlert prints to everyone now if someone gets infected due to a knifed zombie Fixed WeaponCleaner not registering weapons if somebody disconnects Refactored custom-chatcolors to new syntax, added autoreplace and some fixes Added GFLClan.ru support to immunityreservedslots added nominate_removemap to mapchooser_extended and fixed a bug for recently played maps
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
#undef REQUIRE_PLUGIN
|
||||
#include <nativevotes>
|
||||
|
||||
#define MCE_VERSION "1.10.2"
|
||||
#define MCE_VERSION "1.11.0"
|
||||
|
||||
#define NV "nativevotes"
|
||||
|
||||
@@ -2161,6 +2161,11 @@ public Native_ExcludeMap(Handle:plugin, numParams)
|
||||
|
||||
PushArrayString(g_OldMapList, map);
|
||||
|
||||
if (GetArraySize(g_OldMapList) > GetConVarInt(g_Cvar_ExcludeMaps))
|
||||
{
|
||||
RemoveFromArray(g_OldMapList, 0);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user