I have changed FCVAR_PLUGIN to FCVAR_NONE
I also removed:
PHP Code:
#include <cURL>
#include <updater>
And this too:
PHP Code:
public OnAllPluginsLoaded()
{
// If the updater plugin is present, set the URL of the update file
if (LibraryExists("updater"))
{
Updater_AddPlugin(UPDATE_URL);
}
}
public OnLibraryAdded(const String:name[])
{
// When the updater plugin is detected, set the URL of the update file
if (StrEqual(name, "updater"))
{
Updater_AddPlugin(UPDATE_URL);
}
}
So that voteblocker does not require the cURL extension and Updater plugin.
voteblocker.sp compiles without errors, I only get 2 warnings:
Code:
//SourceMod Batch Compiler
// by the SourceMod Dev Team
//// voteblocker.sp
//
// D:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\voteblocker.sp(218) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
//
//
// D:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\voteblocker.sp(902) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
//
//
// Code size: 16564 bytes
// Data size: 19652 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 52600 bytes
//
// 2 Warnings.
//
// Compilation Time: 0,11 sec
// ----------------------------------------
Press enter to exit ...
Try this if it works for you