forked from UNLOZE/sm-plugins
Status: Show no-steam clients.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <sourcemod>
|
||||
#include <sdktools>
|
||||
#include <connect>
|
||||
|
||||
#tryinclude "serverfps.inc"
|
||||
|
||||
@@ -162,7 +163,10 @@ public Action Command_Status(int client, const char[] command, int args)
|
||||
}
|
||||
|
||||
if(IsClientInGame(player))
|
||||
FormatEx(sPlayerState, sizeof(sPlayerState), "active");
|
||||
if (SteamClientAuthenticated(sPlayerAuth))
|
||||
FormatEx(sPlayerState, sizeof(sPlayerState), "active");
|
||||
else
|
||||
FormatEx(sPlayerState, sizeof(sPlayerState), "nosteam");
|
||||
else
|
||||
FormatEx(sPlayerState, sizeof(sPlayerState), "spawning");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user