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

Ability to set up with Bots #31

Open
BeG1990 opened this issue Mar 29, 2020 · 2 comments
Open

Ability to set up with Bots #31

BeG1990 opened this issue Mar 29, 2020 · 2 comments
Labels
idea ideas for updating

Comments

@BeG1990
Copy link

BeG1990 commented Mar 29, 2020

Hello,
can you implement the ability to set up the Plugin to count Bots? Like in GameMe or RankMe. It should be have Cvars to turn it on and off.

That is the only reason why i cant use it.

It would be so nice when you can do that.

Greets,
BeG

@Fragrus
Copy link

Fragrus commented May 27, 2020

It would be very cool. If a similar CVar were added.

@Wend4r Wend4r added the idea ideas for updating label May 27, 2020
@Fragrus
Copy link

Fragrus commented May 28, 2020

So far I’ve temporarily made a crutch for myself.

void Event_PlayerDeath(Event hEvent, const char[] sName, bool bDontBroadcast)
.....
if(CheckStatus(iAttacker) && CheckStatus(iClient))
{ ... }
else if(CheckStatus(iAttacker) && IsFakeClient(iClient)) {
NotifClient(iAttacker, 2, "BotGive", true);
if(hEvent.GetBool("headshot")) {
NotifClient(iAttacker, 1, "BotGiveHeadShotKill", true);
}
}

in levels_ranks\events.sp

"BotGive"
{
"#format" "{1:i},{2:s}"
"en" "Your Exp.: {GREEN}{1} [{2} for a kill bot]"
"ru" "Ваш опыт: {GREEN}{1} [{2} за убийство бота]"
"ua" "Ваш досвід: {GREEN}{1} [{2} за вбивство бота]"
"chi" "你的经验值: {GREEN}{1} [{2} 从杀死机器人]"
"es" "Tu Exp.: {GREEN}{1} [{2} por matar a un bot]"
"de" "Deine Exp: {GREEN}{1} [{2} für das Töten eines Bots]"
}
"BotGiveHeadShotKill"
{
"#format" "{1:i},{2:s}"
"en" "Your Exp.: {OLIVE}{1} [{2} for killing a bot in the head]"
"ru" "Ваш опыт: {OLIVE}{1} [{2} за убийство бота в голову]"
"ua" "Ваш досвід: {OLIVE}{1} [{2} за вбивство бота в голову]"
"chi" "你的经验值: {OLIVE}{1} [{2} 从爆头到机器人]"
"es" "Tu Exp.: {OLIVE}{1} [{2} bot en la cabeza]"
"de" "Deine Exp: {OLIVE}{1} [{2} für einen Bot in den Kopf geschossen]"
}

in translations\lr_core.phrases.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea ideas for updating
Development

No branches or pull requests

3 participants