NoSteam: Change extension functions.

This commit is contained in:
zaCade
2019-02-24 11:31:45 +01:00
parent b8b460b6a7
commit 63213ce57f
3 changed files with 70 additions and 6 deletions
@@ -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";