Update ConnectAnnounce.sp

This commit is contained in:
zaCade 2019-05-13 21:41:06 +02:00
parent fc22dbe7bb
commit 908864c716

View File

@ -4,7 +4,7 @@
#include <geoip> #include <geoip>
#include <multicolors> #include <multicolors>
#include <clientprefs> #include <clientprefs>
#include <RevEmuAPI> #include <NoSteamManager>
#pragma newdecls required #pragma newdecls required
@ -375,7 +375,7 @@ public void TQueryCB(Handle owner, Handle rs, const char[] error, any data)
if(StrContains(sRawMsg, "{NOSTEAM}")) if(StrContains(sRawMsg, "{NOSTEAM}"))
{ {
if(!RevEmu_IsPlayerSteam(client)) if(!NSM_IsPlayerSteam(client))
ReplaceString(sRawMsg, sizeof(sRawMsg), "{NOSTEAM}", " <NoSteam>"); ReplaceString(sRawMsg, sizeof(sRawMsg), "{NOSTEAM}", " <NoSteam>");
else else
ReplaceString(sRawMsg, sizeof(sRawMsg), "{NOSTEAM}", ""); ReplaceString(sRawMsg, sizeof(sRawMsg), "{NOSTEAM}", "");