Code:
#pragma semicolon 1
#define DEBUG
#define PLUGIN_AUTHOR "Nunya"
#define PLUGIN_VERSION "1.69"
#include <sourcemod>
#include <sdktools>
#include <geoip>
public Plugin myinfo =
{
name = "Connect Message",
author = PLUGIN_AUTHOR,
description = "Displays info when client connets",
version = PLUGIN_VERSION,
url = ""
};
public void OnClientPutInServer(client)
{
char name[32],authid[64];
GetClientName(client, name, sizeof(name));
GetClientAuthId(client, AuthId_SteamID64, authid, sizeof(authid));
PrintToChatAll("\x01[Original-Gamers] \x04%s\x01 (\x05%s\x01) has joined the server.", name, authid);
}
So when I add a bot to my server, it shows the bot joined, but shows the steamID as "STEAM_ID_STOP_IGNORING_RETVALS". Is there anyway to check if the client is fake, and if so, then just put BOT instead of the actual steam ID?