So you are saying that using a character that *Steam* does not recognize will cause the *Source* game engine to change your name 30 times per second by stealing names from other players.
I always thought it was getting the player entity list, getting max players and randomly selecting one, copy the name and concatenate an unrecognizable string.
inline int rand_range( int min, int max )
{
return rand() % (max - min + 1) + min;
}
void Steal()
{
player_info_s pInfo;
int iMaxClients = g_pEngine->GetMaxClients();
int iRand = rand_range(0, iMaxClients);
bool bIsPlayer = g_pEngine->GetPlayerInfo( iRand, &pInfo );
if (!bIsPlayer)
return;
char* szSpacedName = pInfo.name;
strcat(szSpacedName, "\uF8F5");
g_pSteamFriends->SetPersonaName(szSpacedName);
}