sourcemod 1.13 upgrade. moved all plugins from steamworks to ripext. added smjanson and asyncsocket.inc an extra time so its easier to find. updated plugins that would not compile with 1.13
This commit is contained in:
@@ -248,7 +248,8 @@ public void OnMapStart()
|
||||
if(StrEqual(sMethod, "breakable"))
|
||||
{
|
||||
char sBreakable[64];
|
||||
if(!KvConfig.GetString("breakable", sBreakable, sizeof(sBreakable)))
|
||||
KvConfig.GetString("breakable", sBreakable, sizeof(sBreakable), "not found");
|
||||
if(StrEqual(sBreakable, "not found"))
|
||||
{
|
||||
LogError("Could not find \"breakable\" in \"%s\"", sSection);
|
||||
continue;
|
||||
@@ -263,7 +264,8 @@ public void OnMapStart()
|
||||
else if(StrEqual(sMethod, "counter"))
|
||||
{
|
||||
char sCounter[64];
|
||||
if(!KvConfig.GetString("counter", sCounter, sizeof(sCounter)))
|
||||
KvConfig.GetString("counter", sCounter, sizeof(sCounter), "not found");
|
||||
if (StrEqual(sCounter, "not found"))
|
||||
{
|
||||
LogError("Could not find \"counter\" in \"%s\"", sSection);
|
||||
continue;
|
||||
@@ -278,21 +280,24 @@ public void OnMapStart()
|
||||
else if(StrEqual(sMethod, "hpbar"))
|
||||
{
|
||||
char sIterator[64];
|
||||
if(!KvConfig.GetString("iterator", sIterator, sizeof(sIterator)))
|
||||
KvConfig.GetString("iterator", sIterator, sizeof(sIterator), "not found");
|
||||
if (StrEqual(sIterator, "not found"))
|
||||
{
|
||||
LogError("Could not find \"iterator\" in \"%s\"", sSection);
|
||||
continue;
|
||||
}
|
||||
|
||||
char sCounter[64];
|
||||
if(!KvConfig.GetString("counter", sCounter, sizeof(sCounter)))
|
||||
KvConfig.GetString("counter", sCounter, sizeof(sCounter), "not found");
|
||||
if (StrEqual(sCounter, "not found"))
|
||||
{
|
||||
LogError("Could not find \"counter\" in \"%s\"", sSection);
|
||||
continue;
|
||||
}
|
||||
|
||||
char sBackup[64];
|
||||
if(!KvConfig.GetString("backup", sBackup, sizeof(sBackup)))
|
||||
KvConfig.GetString("backup", sBackup, sizeof(sBackup), "not found");
|
||||
if (StrEqual(sBackup, "not found"))
|
||||
{
|
||||
LogError("Could not find \"backup\" in \"%s\"", sSection);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user