forked from UNLOZE/sm-plugins
NoSteam: Change extension functions.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#pragma semicolon 1
|
||||
|
||||
#include <sourcemod>
|
||||
#include <No_Steam_Info>
|
||||
#include <RevEmuAPI>
|
||||
|
||||
#pragma newdecls required
|
||||
|
||||
@@ -46,8 +46,8 @@ public void GetConnectionType(int client, char[] sConnectionType, int iMaxLength
|
||||
{
|
||||
char sConnectionTypeInternal[32];
|
||||
|
||||
RevEmu_PlayerType PlayerType = RevEmu_GetPlayerType(client);
|
||||
if (PlayerType == ErrorGet)
|
||||
RevEmu_UserType PlayerType = RevEmu_GetPlayerType(client);
|
||||
if (PlayerType == Unknown)
|
||||
sConnectionTypeInternal = "Error";
|
||||
else if (PlayerType == SteamLegitUser)
|
||||
sConnectionTypeInternal = "SteamLegit";
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include <sourcemod>
|
||||
#include <basecomm>
|
||||
#include <No_Steam_Info>
|
||||
#include <RevEmuAPI>
|
||||
|
||||
#pragma newdecls required
|
||||
|
||||
@@ -275,8 +275,8 @@ public void GetConnectionType(int client, char[] sConnectionType, int iMaxLength
|
||||
{
|
||||
char sConnectionTypeInternal[32];
|
||||
|
||||
RevEmu_PlayerType PlayerType = RevEmu_GetPlayerType(client);
|
||||
if (PlayerType == ErrorGet)
|
||||
RevEmu_UserType PlayerType = RevEmu_GetPlayerType(client);
|
||||
if (PlayerType == Unknown)
|
||||
sConnectionTypeInternal = "Error";
|
||||
else if (PlayerType == SteamLegitUser)
|
||||
sConnectionTypeInternal = "SteamLegit";
|
||||
|
||||
Reference in New Issue
Block a user