Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation and syntax updates #807

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified addons/sourcemod/plugins/optional/l4d2_skill_detect.smx
Binary file not shown.
Binary file modified addons/sourcemod/plugins/optional/l4d2_stats.smx
Binary file not shown.
169 changes: 85 additions & 84 deletions addons/sourcemod/scripting/l4d2_skill_detect.sp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#include <sdktools>
#include <sourcemod>

#define PLUGIN_VERSION "1.1.1"
#define PLUGIN_VERSION "1.1.2"

#define SHOTGUN_BLAST_TIME 0.1
#define POUNCE_CHECK_TIME 0.1
Expand Down Expand Up @@ -183,39 +183,40 @@ char g_csSIClassName[][] = {
char g_sDebugFile[256]; // debug file name
bool g_bLateLoad = false; // whether we're loading late (after map has started)

Handle
g_hForwardSkeet = INVALID_HANDLE,
g_hForwardSkeetHurt = INVALID_HANDLE,
g_hForwardSkeetMelee = INVALID_HANDLE,
g_hForwardSkeetMeleeHurt = INVALID_HANDLE,
g_hForwardSkeetSniper = INVALID_HANDLE,
g_hForwardSkeetSniperHurt = INVALID_HANDLE,
g_hForwardSkeetGL = INVALID_HANDLE,
g_hForwardHunterDeadstop = INVALID_HANDLE,
g_hForwardSIShove = INVALID_HANDLE,
g_hForwardBoomerPop = INVALID_HANDLE,
g_hForwardLevel = INVALID_HANDLE,
g_hForwardLevelHurt = INVALID_HANDLE,
g_hForwardCrown = INVALID_HANDLE,
g_hForwardDrawCrown = INVALID_HANDLE,
g_hForwardTongueCut = INVALID_HANDLE,
g_hForwardSmokerSelfClear = INVALID_HANDLE,
g_hForwardRockSkeeted = INVALID_HANDLE,
g_hForwardRockEaten = INVALID_HANDLE,
g_hForwardHunterDP = INVALID_HANDLE,
g_hForwardJockeyDP = INVALID_HANDLE,
g_hForwardDeathCharge = INVALID_HANDLE,
g_hForwardClear = INVALID_HANDLE,
g_hForwardVomitLanded = INVALID_HANDLE,
g_hForwardBHopStreak = INVALID_HANDLE,
g_hForwardAlarmTriggered = INVALID_HANDLE,

g_hTrieWeapons = INVALID_HANDLE, // weapon check
g_hTrieEntityCreated = INVALID_HANDLE, // getting classname of entity created
g_hTrieAbility = INVALID_HANDLE, // ability check
g_hWitchTrie = INVALID_HANDLE, // witch tracking (Crox)
g_hRockTrie = INVALID_HANDLE, // tank rock tracking
g_hCarTrie = INVALID_HANDLE; // car alarm tracking
GlobalForward
g_hForwardSkeet = null,
g_hForwardSkeetHurt = null,
g_hForwardSkeetMelee = null,
g_hForwardSkeetMeleeHurt = null,
g_hForwardSkeetSniper = null,
g_hForwardSkeetSniperHurt = null,
g_hForwardSkeetGL = null,
g_hForwardHunterDeadstop = null,
g_hForwardSIShove = null,
g_hForwardBoomerPop = null,
g_hForwardLevel = null,
g_hForwardLevelHurt = null,
g_hForwardCrown = null,
g_hForwardDrawCrown = null,
g_hForwardTongueCut = null,
g_hForwardSmokerSelfClear = null,
g_hForwardRockSkeeted = null,
g_hForwardRockEaten = null,
g_hForwardHunterDP = null,
g_hForwardJockeyDP = null,
g_hForwardDeathCharge = null,
g_hForwardClear = null,
g_hForwardVomitLanded = null,
g_hForwardBHopStreak = null,
g_hForwardAlarmTriggered = null;

StringMap
g_hTrieWeapons = null, // weapon check
g_hTrieEntityCreated = null, // getting classname of entity created
g_hTrieAbility = null, // ability check
g_hWitchTrie = null, // witch tracking (Crox)
g_hRockTrie = null, // tank rock tracking
g_hCarTrie = null; // car alarm tracking

// all SI / pinners
float
Expand Down Expand Up @@ -436,31 +437,31 @@ public APLRes
{
RegPluginLibrary("skill_detect");

g_hForwardSkeet = CreateGlobalForward("OnSkeet", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardSkeetHurt = CreateGlobalForward("OnSkeetHurt", ET_Ignore, Param_Cell, Param_Cell, Param_Cell, Param_Cell);
g_hForwardSkeetMelee = CreateGlobalForward("OnSkeetMelee", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardSkeetMeleeHurt = CreateGlobalForward("OnSkeetMeleeHurt", ET_Ignore, Param_Cell, Param_Cell, Param_Cell, Param_Cell);
g_hForwardSkeetSniper = CreateGlobalForward("OnSkeetSniper", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardSkeetSniperHurt = CreateGlobalForward("OnSkeetSniperHurt", ET_Ignore, Param_Cell, Param_Cell, Param_Cell, Param_Cell);
g_hForwardSkeetGL = CreateGlobalForward("OnSkeetGL", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardSIShove = CreateGlobalForward("OnSpecialShoved", ET_Ignore, Param_Cell, Param_Cell, Param_Cell);
g_hForwardHunterDeadstop = CreateGlobalForward("OnHunterDeadstop", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardBoomerPop = CreateGlobalForward("OnBoomerPop", ET_Ignore, Param_Cell, Param_Cell, Param_Cell, Param_Float);
g_hForwardLevel = CreateGlobalForward("OnChargerLevel", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardLevelHurt = CreateGlobalForward("OnChargerLevelHurt", ET_Ignore, Param_Cell, Param_Cell, Param_Cell);
g_hForwardCrown = CreateGlobalForward("OnWitchCrown", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardDrawCrown = CreateGlobalForward("OnWitchDrawCrown", ET_Ignore, Param_Cell, Param_Cell, Param_Cell);
g_hForwardTongueCut = CreateGlobalForward("OnTongueCut", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardSmokerSelfClear = CreateGlobalForward("OnSmokerSelfClear", ET_Ignore, Param_Cell, Param_Cell, Param_Cell);
g_hForwardRockSkeeted = CreateGlobalForward("OnTankRockSkeeted", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardRockEaten = CreateGlobalForward("OnTankRockEaten", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardHunterDP = CreateGlobalForward("OnHunterHighPounce", ET_Ignore, Param_Cell, Param_Cell, Param_Cell, Param_Float, Param_Float, Param_Cell, Param_Cell);
g_hForwardJockeyDP = CreateGlobalForward("OnJockeyHighPounce", ET_Ignore, Param_Cell, Param_Cell, Param_Float, Param_Cell);
g_hForwardDeathCharge = CreateGlobalForward("OnDeathCharge", ET_Ignore, Param_Cell, Param_Cell, Param_Float, Param_Float, Param_Cell);
g_hForwardClear = CreateGlobalForward("OnSpecialClear", ET_Ignore, Param_Cell, Param_Cell, Param_Cell, Param_Cell, Param_Float, Param_Float, Param_Cell);
g_hForwardVomitLanded = CreateGlobalForward("OnBoomerVomitLanded", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardBHopStreak = CreateGlobalForward("OnBunnyHopStreak", ET_Ignore, Param_Cell, Param_Cell, Param_Float);
g_hForwardAlarmTriggered = CreateGlobalForward("OnCarAlarmTriggered", ET_Ignore, Param_Cell, Param_Cell, Param_Cell);
g_hForwardSkeet = new GlobalForward("OnSkeet", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardSkeetHurt = new GlobalForward("OnSkeetHurt", ET_Ignore, Param_Cell, Param_Cell, Param_Cell, Param_Cell);
g_hForwardSkeetMelee = new GlobalForward("OnSkeetMelee", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardSkeetMeleeHurt = new GlobalForward("OnSkeetMeleeHurt", ET_Ignore, Param_Cell, Param_Cell, Param_Cell, Param_Cell);
g_hForwardSkeetSniper = new GlobalForward("OnSkeetSniper", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardSkeetSniperHurt = new GlobalForward("OnSkeetSniperHurt", ET_Ignore, Param_Cell, Param_Cell, Param_Cell, Param_Cell);
g_hForwardSkeetGL = new GlobalForward("OnSkeetGL", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardSIShove = new GlobalForward("OnSpecialShoved", ET_Ignore, Param_Cell, Param_Cell, Param_Cell);
g_hForwardHunterDeadstop = new GlobalForward("OnHunterDeadstop", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardBoomerPop = new GlobalForward("OnBoomerPop", ET_Ignore, Param_Cell, Param_Cell, Param_Cell, Param_Float);
g_hForwardLevel = new GlobalForward("OnChargerLevel", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardLevelHurt = new GlobalForward("OnChargerLevelHurt", ET_Ignore, Param_Cell, Param_Cell, Param_Cell);
g_hForwardCrown = new GlobalForward("OnWitchCrown", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardDrawCrown = new GlobalForward("OnWitchDrawCrown", ET_Ignore, Param_Cell, Param_Cell, Param_Cell);
g_hForwardTongueCut = new GlobalForward("OnTongueCut", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardSmokerSelfClear = new GlobalForward("OnSmokerSelfClear", ET_Ignore, Param_Cell, Param_Cell, Param_Cell);
g_hForwardRockSkeeted = new GlobalForward("OnTankRockSkeeted", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardRockEaten = new GlobalForward("OnTankRockEaten", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardHunterDP = new GlobalForward("OnHunterHighPounce", ET_Ignore, Param_Cell, Param_Cell, Param_Cell, Param_Float, Param_Float, Param_Cell, Param_Cell);
g_hForwardJockeyDP = new GlobalForward("OnJockeyHighPounce", ET_Ignore, Param_Cell, Param_Cell, Param_Float, Param_Cell);
g_hForwardDeathCharge = new GlobalForward("OnDeathCharge", ET_Ignore, Param_Cell, Param_Cell, Param_Float, Param_Float, Param_Cell);
g_hForwardClear = new GlobalForward("OnSpecialClear", ET_Ignore, Param_Cell, Param_Cell, Param_Cell, Param_Cell, Param_Float, Param_Float, Param_Cell);
g_hForwardVomitLanded = new GlobalForward("OnBoomerVomitLanded", ET_Ignore, Param_Cell, Param_Cell);
g_hForwardBHopStreak = new GlobalForward("OnBunnyHopStreak", ET_Ignore, Param_Cell, Param_Cell, Param_Float);
g_hForwardAlarmTriggered = new GlobalForward("OnCarAlarmTriggered", ET_Ignore, Param_Cell, Param_Cell, Param_Cell);
g_bLateLoad = late;

return APLRes_Success;
Expand Down Expand Up @@ -516,7 +517,7 @@ public void OnPluginStart()

// cvars: built in
g_cvarPounceInterrupt = FindConVar("z_pounce_damage_interrupt");
HookConVarChange(g_cvarPounceInterrupt, CvarChange_PounceInterrupt);
g_cvarPounceInterrupt.AddChangeHook(CvarChange_PounceInterrupt);
g_iPounceInterrupt = g_cvarPounceInterrupt.IntValue;

g_cvarChargerHealth = FindConVar("z_charger_health");
Expand All @@ -535,28 +536,28 @@ public void OnPluginStart()
g_cvarMaxPounceDamage = CreateConVar("z_hunter_max_pounce_bonus_damage", "49", "Not available on this server, added by l4d2_skill_detect.", FCVAR_NONE, true, 0.0, false);

// tries
g_hTrieWeapons = CreateTrie();
SetTrieValue(g_hTrieWeapons, "hunting_rifle", WPTYPE_SNIPER);
SetTrieValue(g_hTrieWeapons, "sniper_military", WPTYPE_SNIPER);
SetTrieValue(g_hTrieWeapons, "sniper_awp", WPTYPE_SNIPER);
SetTrieValue(g_hTrieWeapons, "sniper_scout", WPTYPE_SNIPER);
SetTrieValue(g_hTrieWeapons, "pistol_magnum", WPTYPE_MAGNUM);
SetTrieValue(g_hTrieWeapons, "grenade_launcher_projectile", WPTYPE_GL);

g_hTrieEntityCreated = CreateTrie();
SetTrieValue(g_hTrieEntityCreated, "tank_rock", OEC_TANKROCK);
SetTrieValue(g_hTrieEntityCreated, "witch", OEC_WITCH);
SetTrieValue(g_hTrieEntityCreated, "trigger_hurt", OEC_TRIGGER);
SetTrieValue(g_hTrieEntityCreated, "prop_car_alarm", OEC_CARALARM);
SetTrieValue(g_hTrieEntityCreated, "prop_car_glass", OEC_CARGLASS);

g_hTrieAbility = CreateTrie();
SetTrieValue(g_hTrieAbility, "ability_lunge", ABL_HUNTERLUNGE);
SetTrieValue(g_hTrieAbility, "ability_throw", ABL_ROCKTHROW);

g_hWitchTrie = CreateTrie();
g_hRockTrie = CreateTrie();
g_hCarTrie = CreateTrie();
g_hTrieWeapons = new StringMap();
g_hTrieWeapons.SetValue("hunting_rifle", WPTYPE_SNIPER);
g_hTrieWeapons.SetValue("sniper_military", WPTYPE_SNIPER);
g_hTrieWeapons.SetValue("sniper_awp", WPTYPE_SNIPER);
g_hTrieWeapons.SetValue("sniper_scout", WPTYPE_SNIPER);
g_hTrieWeapons.SetValue("pistol_magnum", WPTYPE_MAGNUM);
g_hTrieWeapons.SetValue("grenade_launcher_projectile", WPTYPE_GL);

g_hTrieEntityCreated = new StringMap();
g_hTrieEntityCreated.SetValue("tank_rock", OEC_TANKROCK);
g_hTrieEntityCreated.SetValue("witch", OEC_WITCH);
g_hTrieEntityCreated.SetValue("trigger_hurt", OEC_TRIGGER);
g_hTrieEntityCreated.SetValue("prop_car_alarm", OEC_CARALARM);
g_hTrieEntityCreated.SetValue("prop_car_glass", OEC_CARGLASS);

g_hTrieAbility = new StringMap();
g_hTrieAbility.SetValue("ability_lunge", ABL_HUNTERLUNGE);
g_hTrieAbility.SetValue("ability_throw", ABL_ROCKTHROW);

g_hWitchTrie = new StringMap();
g_hRockTrie = new StringMap();
g_hCarTrie = new StringMap();

static char logFile[PLATFORM_MAX_PATH];
Format(logFile, sizeof(logFile), "/logs/l4d2_skill_detect.log");
Expand Down Expand Up @@ -610,9 +611,9 @@ void OnHookEvent()
HookEvent("triggered_car_alarm", Event_CarAlarmGoesOff, EventHookMode_Post);
}

void CvarChange_PounceInterrupt(Handle convar, const char[] oldValue, const char[] newValue)
void CvarChange_PounceInterrupt(ConVar convar, const char[] oldValue, const char[] newValue)
{
g_iPounceInterrupt = GetConVarInt(convar);
g_iPounceInterrupt = convar.IntValue;
}

public void OnClientPostAdminCheck(int client)
Expand Down
90 changes: 61 additions & 29 deletions addons/sourcemod/scripting/l4d2_skill_detect/report.sp
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,22 @@ stock void HandleSkeet(int attacker, int victim, bool bMelee = false, bool bSnip
CPrintToChatAll("%t %t", "Tag+", "TeamSkeetedBot");
}
else if (IsValidClientInGame(attacker) && IsValidClientInGame(victim) && !IsFakeClient(victim))
CPrintToChatAll("%t %t", "Tag++", "Skeeted", attacker, (bMelee) ? Melee() : ((bSniper) ? Headshot() : ((bGL) ? Grenade() : "")), victim);
{
for (int i = 0; i < MaxClients; i++)
{
if (IsValidClientInGame(i) && !IsFakeClient(i))
CPrintToChat(i, "%t %t", "Tag++", "Skeeted", attacker, (bMelee) ? Melee(i) : ((bSniper) ? Headshot(i) : ((bGL) ? Grenade(i) : "")), victim);
}
}

else if (IsValidClientInGame(attacker))
CPrintToChatAll("%t %t", "Tag+", "SkeetedBot", attacker, (bMelee) ? Melee() : ((bSniper) ? Headshot() : ((bGL) ? Grenade() : "")));
{
for (int i = 0; i < MaxClients; i++)
{
if (IsValidClientInGame(i) && !IsFakeClient(i))
CPrintToChat(i, "%t %t", "Tag++", "SkeetedBot", attacker, (bMelee) ? Melee(i) : ((bSniper) ? Headshot(i) : ((bGL) ? Grenade(i) : "")), "");
}
}
}

// call forward
Expand Down Expand Up @@ -155,12 +168,19 @@ stock void HandleNonSkeet(int attacker, int victim, int damage, bool bOverKill =
// report?
if (g_cvarReport.BoolValue && g_cvarRepHurtSkeet.BoolValue)
{
char buffer[64];
Format(buffer, sizeof(buffer), "%t", "Unchipped");
if (IsValidClientInGame(victim))
CPrintToChatAll("%t %t", "Tag+", "HurtSkeet", victim, damage, (bOverKill) ? buffer : "");
else
CPrintToChatAll("%t %t", "Tag+", "HurtSkeetBot", damage, (bOverKill) ? buffer : "");
for (int i = 0; i < MaxClients; i++)
{
if (IsValidClientInGame(i) && !IsFakeClient(i))
{
char buffer[64];
Format(buffer, sizeof(buffer), "%T", "Unchipped", i);

if (IsValidClientInGame(victim))
CPrintToChat(i, "%t %t", "Tag+", "HurtSkeet", victim, damage, (bOverKill) ? buffer : "");
else
CPrintToChat(i, "%t %t", "Tag+", "HurtSkeetBot", damage, (bOverKill) ? buffer : "");
}
}
}

// call forward
Expand Down Expand Up @@ -255,13 +275,19 @@ void HandleSmokerSelfClear(int attacker, int victim, bool withShove = false)
// report?
if (g_cvarReport.BoolValue && g_cvarRepSelfClear.BoolValue && (!withShove || g_cvarRepSelfClearShove.BoolValue))
{
char Buffer[64];
Format(Buffer, sizeof(Buffer), "%t", "Shoving");
for (int i = 0; i < MaxClients; i++)
{
if (IsValidClientInGame(i) && !IsFakeClient(i))
{
char Buffer[64];
Format(Buffer, sizeof(Buffer), "%T", "Shoving", i);

if (IsValidClientInGame(attacker) && IsValidClientInGame(victim) && !IsFakeClient(victim))
CPrintToChatAll("%t %t", "Tag++", "SelfClearedTongue", attacker, victim, (withShove) ? Buffer : "");
else if (IsValidClientInGame(attacker))
CPrintToChatAll("%t %t", "Tag++", "SelfClearedTongueBot", attacker, (withShove) ? Buffer : "");
if (IsValidClientInGame(attacker) && IsValidClientInGame(victim) && !IsFakeClient(victim))
CPrintToChat(i, "%t %t", "Tag++", "SelfClearedTongue", attacker, victim, (withShove) ? Buffer : "");
else if (IsValidClientInGame(attacker))
CPrintToChat(i, "%t %t", "Tag++", "SelfClearedTongueBot", attacker, (withShove) ? Buffer : "");
}
}
}

// call forward
Expand Down Expand Up @@ -347,13 +373,19 @@ stock void HandleDeathCharge(int attacker, int victim, float height, float dista
// report?
if (g_cvarReport.BoolValue && g_cvarRepDeathCharge.BoolValue && height >= g_cvarDeathChargeHeight.FloatValue)
{
char Buffer[64];
Format(Buffer, sizeof(Buffer), "%t", "Bowling");
for (int i = 0; i < MaxClients; i++)
{
if (IsValidClientInGame(i) && !IsFakeClient(i))
{
char Buffer[64];
Format(Buffer, sizeof(Buffer), "%T", "Bowling", i);

if (IsValidClientInGame(attacker) && IsValidClientInGame(victim) && !IsFakeClient(attacker))
CPrintToChatAll("%t %t", "Tag++++", "DeathCharged", attacker, victim, (bCarried) ? "" : Buffer, RoundFloat(height));
else if (IsValidClientInGame(victim))
CPrintToChatAll("%t %t", "Tag++++", "DeathChargedBot", victim, (bCarried) ? "" : Buffer, RoundFloat(height));
if (IsValidClientInGame(attacker) && IsValidClientInGame(victim) && !IsFakeClient(attacker))
CPrintToChat(i, "%t %t", "Tag++++", "DeathCharged", attacker, victim, (bCarried) ? "" : Buffer, RoundFloat(height));
else if (IsValidClientInGame(victim))
CPrintToChat(i, "%t %t", "Tag++++", "DeathChargedBot", victim, (bCarried) ? "" : Buffer, RoundFloat(height));
}
}
}

Call_StartForward(g_hForwardDeathCharge);
Expand Down Expand Up @@ -426,7 +458,7 @@ stock void HandleVomitLanded(int attacker, int boomCount)
stock void HandleBHopStreak(int survivor, int streak, float maxVelocity)
{
if (g_cvarRepBhopStreak.BoolValue && IsValidClientInGame(survivor) && !IsFakeClient(survivor) && streak >= g_cvarBHopMinStreak.IntValue)
CPrintToChat(survivor, "%t %t", "Tag+", "BunnyHop", streak, (streak > 1) ? PluralCount() : "", maxVelocity);
CPrintToChat(survivor, "%t %t", "Tag+", "BunnyHop", streak, (streak > 1) ? PluralCount(survivor) : "", maxVelocity);

Call_StartForward(g_hForwardBHopStreak);
Call_PushCell(survivor);
Expand Down Expand Up @@ -487,31 +519,31 @@ stock void HandleCarAlarmTriggered(int survivor, int infected, int reason)
Call_Finish();
}

char[] Melee()
char[] Melee(int client)
{
char sBuffer[32];
Format(sBuffer, sizeof(sBuffer), "%t", "Melee");
Format(sBuffer, sizeof(sBuffer), "%T", "Melee", client);
return sBuffer;
}

char[] Headshot()
char[] Headshot(int client)
{
char sBuffer[32];
Format(sBuffer, sizeof(sBuffer), "%t", "HeadShot");
Format(sBuffer, sizeof(sBuffer), "%T", "HeadShot", client);
return sBuffer;
}

char[] Grenade()
char[] Grenade(int client)
{
char sBuffer[32];
Format(sBuffer, sizeof(sBuffer), "%t", "Grenade");
Format(sBuffer, sizeof(sBuffer), "%T", "Grenade", client);
return sBuffer;
}

char[] PluralCount()
char[] PluralCount(int client)
{
char sBuffer[32];
Format(sBuffer, sizeof(sBuffer), "%t", "PluralCount");
Format(sBuffer, sizeof(sBuffer), "%T", "PluralCount", client);
return sBuffer;
}

Loading
Loading