Update ConnectAnnounce.sp
This commit is contained in:
parent
fc22dbe7bb
commit
908864c716
@ -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}", "");
|
||||||
|
Loading…
Reference in New Issue
Block a user