Change Native calls ect.
This commit is contained in:
parent
2ec7ce3a47
commit
243bb73b6b
@ -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}", "");
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user