Change Native calls ect.

This commit is contained in:
zaCade 2019-06-08 15:42:33 +02:00
parent 2ec7ce3a47
commit 243bb73b6b
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
#include <geoip> #include <geoip>
#include <multicolors> #include <multicolors>
#include <clientprefs> #include <clientprefs>
#include <NoSteamManager> #include <PlayerManager>
#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(!NSM_IsPlayerSteam(client)) if(!PM_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}", "");

View File

@ -2,7 +2,7 @@
#include <sourcemod> #include <sourcemod>
#include <sdktools> #include <sdktools>
#include <NoSteamManager> #include <PlayerManager>
#tryinclude "serverfps.inc" #tryinclude "serverfps.inc"
@ -175,7 +175,7 @@ public Action Command_Status(int client, const char[] command, int args)
if (IsFakeClient(player)) if (IsFakeClient(player))
FormatEx(sPlayerType, sizeof(sPlayerType), "FakeClient"); FormatEx(sPlayerType, sizeof(sPlayerType), "FakeClient");
else else
NSM_GetPlayerType(player, sPlayerType, sizeof(sPlayerType)); PM_GetPlayerType(player, sPlayerType, sizeof(sPlayerType));
PrintToConsole(client, "# %8s %40s %24s %12s %4s %4s %10s %16s %s", PrintToConsole(client, "# %8s %40s %24s %12s %4s %4s %10s %16s %s",
sPlayerID, sPlayerName, sPlayerAuth, sPlayerTime, sPlayerPing, sPlayerLoss, sPlayerState, sPlayerAddr, sPlayerType); sPlayerID, sPlayerName, sPlayerAuth, sPlayerTime, sPlayerPing, sPlayerLoss, sPlayerState, sPlayerAddr, sPlayerType);