From 243bb73b6beec63fb4ce04fc284d07cf0fd3f015 Mon Sep 17 00:00:00 2001 From: zaCade Date: Sat, 8 Jun 2019 15:42:33 +0200 Subject: [PATCH] Change Native calls ect. --- ConnectAnnounce/scripting/ConnectAnnounce.sp | 4 ++-- Status/scripting/Status.sp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ConnectAnnounce/scripting/ConnectAnnounce.sp b/ConnectAnnounce/scripting/ConnectAnnounce.sp index 69b3fb94..f529fa98 100644 --- a/ConnectAnnounce/scripting/ConnectAnnounce.sp +++ b/ConnectAnnounce/scripting/ConnectAnnounce.sp @@ -4,7 +4,7 @@ #include #include #include -#include +#include #pragma newdecls required @@ -375,7 +375,7 @@ public void TQueryCB(Handle owner, Handle rs, const char[] error, any data) if(StrContains(sRawMsg, "{NOSTEAM}")) { - if(!NSM_IsPlayerSteam(client)) + if(!PM_IsPlayerSteam(client)) ReplaceString(sRawMsg, sizeof(sRawMsg), "{NOSTEAM}", " "); else ReplaceString(sRawMsg, sizeof(sRawMsg), "{NOSTEAM}", ""); diff --git a/Status/scripting/Status.sp b/Status/scripting/Status.sp index 52ee2066..fca82f95 100644 --- a/Status/scripting/Status.sp +++ b/Status/scripting/Status.sp @@ -2,7 +2,7 @@ #include #include -#include +#include #tryinclude "serverfps.inc" @@ -175,7 +175,7 @@ public Action Command_Status(int client, const char[] command, int args) if (IsFakeClient(player)) FormatEx(sPlayerType, sizeof(sPlayerType), "FakeClient"); else - NSM_GetPlayerType(player, sPlayerType, sizeof(sPlayerType)); + PM_GetPlayerType(player, sPlayerType, sizeof(sPlayerType)); PrintToConsole(client, "# %8s %40s %24s %12s %4s %4s %10s %16s %s", sPlayerID, sPlayerName, sPlayerAuth, sPlayerTime, sPlayerPing, sPlayerLoss, sPlayerState, sPlayerAddr, sPlayerType);