[Rezolvat] Cerere plugin ban

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
User avatar
YONTU
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 2466
Joined: 10 May 2013, 14:25
Detinator Steam: Nu
CS Status: Everyone is looking at ur shoes
Reputatie: Moderator ajutator
Fost scripter eXtreamCS
Location: Gura Humorului
Has thanked: 256 times
Been thanked: 288 times
Contact:

11 Feb 2014, 19:17

@GhosT: 1 tk = iti omori un coechipier!
M-am interesat !
„Peste douăzeci de ani vei fi dezamăgit din cauza lucrurilor pe care nu le-ai făcut, nu din cauza celor pe care le-ai făcut.” - Mark Twain
„Asa e si in viata, hotii castiga, prostii care invata pierd.” - Mihai Nemeș


Bio.LeagueCs.Ro - Biohazard v4.4 Xmas Edition
discord: IonutC#5114

Experinta in: Java/Spring boot/Angular/C/C++/C#/Javascript/Python/HTML/CSS/Pawn/SQL
Ai nevoie de ajutorul meu? Ma poti gasi doar la adresa de discord de mai sus.
RoyalServer 2
User avatar
GhosT ***
Membru, skill +2
Membru, skill +2
Posts: 604
Joined: 04 Dec 2013, 21:52
Detinator Steam: Da
CS Status: Morphin . [ Retras ]
SteamID: Mutulica1428
Reputatie: Fost Moderator ajutator
Location: Dumesti.
Has thanked: 40 times
Been thanked: 99 times
Contact:

11 Feb 2014, 19:19

The YONTU wrote:@GhosT: 1 tk = iti omori un coechipier!
M-am interesat !
Eu ce am zis?
Team kill e atunci cand un membru al echipei isi omoara un coechipier ;)
Gata ca o dam in off :(
Apella
Membru, skill +1
Membru, skill +1
Posts: 445
Joined: 17 Oct 2013, 20:56
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 10 times
Been thanked: 1 time
Contact:

11 Feb 2014, 19:20

GhosT *** wrote:
The YONTU wrote:@GhosT: 1 tk = iti omori un coechipier!
M-am interesat !
Eu ce am zis?
Team kill e atunci cand un membru al echipei isi omoara un coechipier ;)
Gata ca o dam in off :(
deci ce facem ? nu poti face pluginu sa mearga da ?:(
User avatar
GhosT ***
Membru, skill +2
Membru, skill +2
Posts: 604
Joined: 04 Dec 2013, 21:52
Detinator Steam: Da
CS Status: Morphin . [ Retras ]
SteamID: Mutulica1428
Reputatie: Fost Moderator ajutator
Location: Dumesti.
Has thanked: 40 times
Been thanked: 99 times
Contact:

11 Feb 2014, 19:24

vezi asa
| Afiseaza codul
#include <amxmodx>

new const PLUGIN[] = "3 TK = BAN";
new const VERSION[] = "1.0";
new const AUTOR[] = "GhosT ***";

new TeamKills[33];

new max_tk;
new ban_time;

public plugin_init()
{
	register_plugin(PLUGIN, VERSION, AUTOR);
	
	register_event("DeathMsg", "DeathMsg", "a");
	max_tk = register_cvar("max_teamkills", "3");
	ban_time = register_cvar("teamkills_bantime", "120");
}
public DeathMsg()
{
	new iAttacker = read_data(1);
	new iVictim = read_data(2);
	
	new iAttackerIp[32];
	get_user_ip(iAttacker, iAttackerIp, sizeof(iAttackerIp) - 1, 0);
	
	
	if(TeamKills[iAttacker] >= get_pcvar_num(max_tk))
	{
		server_cmd("amx_banip ^"%s^" %d", iAttackerIp, get_pcvar_num(ban_time));
		TeamKills[iAttacker] = 0;
		return 0;
	}
	
	if(get_user_team(iAttacker) == get_user_team(iVictim))
	{
		client_print(iAttacker, print_center, "%d Team Kills !", TeamKills[iAttacker]);
		TeamKills[iAttacker] += 1;
	}
	
	return 0;
}
:-??
Apella
Membru, skill +1
Membru, skill +1
Posts: 445
Joined: 17 Oct 2013, 20:56
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 10 times
Been thanked: 1 time
Contact:

11 Feb 2014, 20:04

GhosT *** wrote:vezi asa
| Afiseaza codul
#include <amxmodx>

new const PLUGIN[] = "3 TK = BAN";
new const VERSION[] = "1.0";
new const AUTOR[] = "GhosT ***";

new TeamKills[33];

new max_tk;
new ban_time;

public plugin_init()
{
	register_plugin(PLUGIN, VERSION, AUTOR);
	
	register_event("DeathMsg", "DeathMsg", "a");
	max_tk = register_cvar("max_teamkills", "3");
	ban_time = register_cvar("teamkills_bantime", "120");
}
public DeathMsg()
{
	new iAttacker = read_data(1);
	new iVictim = read_data(2);
	
	new iAttackerIp[32];
	get_user_ip(iAttacker, iAttackerIp, sizeof(iAttackerIp) - 1, 0);
	
	
	if(TeamKills[iAttacker] >= get_pcvar_num(max_tk))
	{
		server_cmd("amx_banip ^"%s^" %d", iAttackerIp, get_pcvar_num(ban_time));
		TeamKills[iAttacker] = 0;
		return 0;
	}
	
	if(get_user_team(iAttacker) == get_user_team(iVictim))
	{
		client_print(iAttacker, print_center, "%d Team Kills !", TeamKills[iAttacker]);
		TeamKills[iAttacker] += 1;
	}
	
	return 0;
}
:-??
nea tot nu mere :( ajutorrrrrrrrr
User avatar
GhosT ***
Membru, skill +2
Membru, skill +2
Posts: 604
Joined: 04 Dec 2013, 21:52
Detinator Steam: Da
CS Status: Morphin . [ Retras ]
SteamID: Mutulica1428
Reputatie: Fost Moderator ajutator
Location: Dumesti.
Has thanked: 40 times
Been thanked: 99 times
Contact:

11 Feb 2014, 20:19

Apella wrote:
GhosT *** wrote:vezi asa
| Afiseaza codul
#include <amxmodx>

new const PLUGIN[] = "3 TK = BAN";
new const VERSION[] = "1.0";
new const AUTOR[] = "GhosT ***";

new TeamKills[33];

new max_tk;
new ban_time;

public plugin_init()
{
	register_plugin(PLUGIN, VERSION, AUTOR);
	
	register_event("DeathMsg", "DeathMsg", "a");
	max_tk = register_cvar("max_teamkills", "3");
	ban_time = register_cvar("teamkills_bantime", "120");
}
public DeathMsg()
{
	new iAttacker = read_data(1);
	new iVictim = read_data(2);
	
	new iAttackerIp[32];
	get_user_ip(iAttacker, iAttackerIp, sizeof(iAttackerIp) - 1, 0);
	
	
	if(TeamKills[iAttacker] >= get_pcvar_num(max_tk))
	{
		server_cmd("amx_banip ^"%s^" %d", iAttackerIp, get_pcvar_num(ban_time));
		TeamKills[iAttacker] = 0;
		return 0;
	}
	
	if(get_user_team(iAttacker) == get_user_team(iVictim))
	{
		client_print(iAttacker, print_center, "%d Team Kills !", TeamKills[iAttacker]);
		TeamKills[iAttacker] += 1;
	}
	
	return 0;
}
:-??
nea tot nu mere :( ajutorrrrrrrrr
| Afiseaza codul
#include <amxmodx>

new const PLUGIN[] = "3 TK = BAN";
new const VERSION[] = "1.0";
new const AUTOR[] = "GhosT ***";

new TeamKills[33];

new max_tk;
new ban_time;

public plugin_init()
{
	register_plugin(PLUGIN, VERSION, AUTOR);
	
	register_event("DeathMsg", "DeathMsg", "a");
	max_tk = register_cvar("max_teamkills", "3");
	ban_time = register_cvar("teamkills_bantime", "120");
}
public DeathMsg()
{
	new iAttacker = read_data(1);
	new iVictim = read_data(2);
	
	new iAttackerIp[32];
	get_user_ip(iAttacker, iAttackerIp, sizeof(iAttackerIp) - 1, 1);
	
	if(TeamKills[iAttacker] >= get_pcvar_num(max_tk))
	{
		server_cmd("amx_banip %s %d ^"%d Team Kills^"", iAttackerIp, get_pcvar_num(ban_time), get_pcvar_num(max_tk));
		TeamKills[iAttacker] = 0;
		return PLUGIN_CONTINUE;
	}
	if(get_user_team(iAttacker) == get_user_team(iVictim))
	{
		TeamKills[iAttacker] += 1;
		client_print(iAttacker, print_center, "%d Team Kills !", TeamKills[iAttacker]);
	}
	
	return PLUGIN_HANDLED;
}
Acum trebuie sa mearga .. Atunci nu mergea pentru ca nu am bagat motiv ;))
Apella
Membru, skill +1
Membru, skill +1
Posts: 445
Joined: 17 Oct 2013, 20:56
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 10 times
Been thanked: 1 time
Contact:

11 Feb 2014, 21:00

GhosT *** wrote:
Apella wrote:
GhosT *** wrote:vezi asa
| Afiseaza codul
#include <amxmodx>

new const PLUGIN[] = "3 TK = BAN";
new const VERSION[] = "1.0";
new const AUTOR[] = "GhosT ***";

new TeamKills[33];

new max_tk;
new ban_time;

public plugin_init()
{
	register_plugin(PLUGIN, VERSION, AUTOR);
	
	register_event("DeathMsg", "DeathMsg", "a");
	max_tk = register_cvar("max_teamkills", "3");
	ban_time = register_cvar("teamkills_bantime", "120");
}
public DeathMsg()
{
	new iAttacker = read_data(1);
	new iVictim = read_data(2);
	
	new iAttackerIp[32];
	get_user_ip(iAttacker, iAttackerIp, sizeof(iAttackerIp) - 1, 0);
	
	
	if(TeamKills[iAttacker] >= get_pcvar_num(max_tk))
	{
		server_cmd("amx_banip ^"%s^" %d", iAttackerIp, get_pcvar_num(ban_time));
		TeamKills[iAttacker] = 0;
		return 0;
	}
	
	if(get_user_team(iAttacker) == get_user_team(iVictim))
	{
		client_print(iAttacker, print_center, "%d Team Kills !", TeamKills[iAttacker]);
		TeamKills[iAttacker] += 1;
	}
	
	return 0;
}
:-??
nea tot nu mere :( ajutorrrrrrrrr
| Afiseaza codul
#include <amxmodx>

new const PLUGIN[] = "3 TK = BAN";
new const VERSION[] = "1.0";
new const AUTOR[] = "GhosT ***";

new TeamKills[33];

new max_tk;
new ban_time;

public plugin_init()
{
	register_plugin(PLUGIN, VERSION, AUTOR);
	
	register_event("DeathMsg", "DeathMsg", "a");
	max_tk = register_cvar("max_teamkills", "3");
	ban_time = register_cvar("teamkills_bantime", "120");
}
public DeathMsg()
{
	new iAttacker = read_data(1);
	new iVictim = read_data(2);
	
	new iAttackerIp[32];
	get_user_ip(iAttacker, iAttackerIp, sizeof(iAttackerIp) - 1, 1);
	
	if(TeamKills[iAttacker] >= get_pcvar_num(max_tk))
	{
		server_cmd("amx_banip %s %d ^"%d Team Kills^"", iAttackerIp, get_pcvar_num(ban_time), get_pcvar_num(max_tk));
		TeamKills[iAttacker] = 0;
		return PLUGIN_CONTINUE;
	}
	if(get_user_team(iAttacker) == get_user_team(iVictim))
	{
		TeamKills[iAttacker] += 1;
		client_print(iAttacker, print_center, "%d Team Kills !", TeamKills[iAttacker]);
	}
	
	return PLUGIN_HANDLED;
}
Acum trebuie sa mearga .. Atunci nu mergea pentru ca nu am bagat motiv ;))
TOT NU MERGE ;(
User avatar
GhosT ***
Membru, skill +2
Membru, skill +2
Posts: 604
Joined: 04 Dec 2013, 21:52
Detinator Steam: Da
CS Status: Morphin . [ Retras ]
SteamID: Mutulica1428
Reputatie: Fost Moderator ajutator
Location: Dumesti.
Has thanked: 40 times
Been thanked: 99 times
Contact:

11 Feb 2014, 21:10

Apella wrote:
GhosT *** wrote:
Apella wrote: nea tot nu mere :( ajutorrrrrrrrr
| Afiseaza codul
#include <amxmodx>

new const PLUGIN[] = "3 TK = BAN";
new const VERSION[] = "1.0";
new const AUTOR[] = "GhosT ***";

new TeamKills[33];

new max_tk;
new ban_time;

public plugin_init()
{
	register_plugin(PLUGIN, VERSION, AUTOR);
	
	register_event("DeathMsg", "DeathMsg", "a");
	max_tk = register_cvar("max_teamkills", "3");
	ban_time = register_cvar("teamkills_bantime", "120");
}
public DeathMsg()
{
	new iAttacker = read_data(1);
	new iVictim = read_data(2);
	
	new iAttackerIp[32];
	get_user_ip(iAttacker, iAttackerIp, sizeof(iAttackerIp) - 1, 1);
	
	if(TeamKills[iAttacker] >= get_pcvar_num(max_tk))
	{
		server_cmd("amx_banip %s %d ^"%d Team Kills^"", iAttackerIp, get_pcvar_num(ban_time), get_pcvar_num(max_tk));
		TeamKills[iAttacker] = 0;
		return PLUGIN_CONTINUE;
	}
	if(get_user_team(iAttacker) == get_user_team(iVictim))
	{
		TeamKills[iAttacker] += 1;
		client_print(iAttacker, print_center, "%d Team Kills !", TeamKills[iAttacker]);
	}
	
	return PLUGIN_HANDLED;
}
Acum trebuie sa mearga .. Atunci nu mergea pentru ca nu am bagat motiv ;))
TOT NU MERGE ;(
| Afiseaza codul
#include <amxmodx>

new const PLUGIN[] = "3 TK = BAN";
new const VERSION[] = "1.0";
new const AUTOR[] = "GhosT ***";

new TeamKills[33];

new max_tk;
new ban_time;

public plugin_init()
{
	register_plugin(PLUGIN, VERSION, AUTOR);
	
	register_event("DeathMsg", "DeathMsg", "a");
	max_tk = register_cvar("max_teamkills", "3");
	ban_time = register_cvar("teamkills_bantime", "120");
}
public DeathMsg()
{
	new iAttacker = read_data(1);
	new iVictim = read_data(2);
	
	new iAttackerName[32];
	get_user_name(iAttacker, iAttackerName, sizeof(iAttackerName) - 1);
	
	if(TeamKills[iAttacker] >= get_pcvar_num(max_tk))
	{
		server_cmd("amx_banip %s %d ^"%d Team Kills^"", iAttackerName, get_pcvar_num(ban_time), get_pcvar_num(max_tk));
		TeamKills[iAttacker] = 0;
		return PLUGIN_CONTINUE;
	}
	if(get_user_team(iAttacker) == get_user_team(iVictim))
	{
		TeamKills[iAttacker] += 1;
		client_print(iAttacker, print_center, "%d Team Kills !", TeamKills[iAttacker]);
	}
	
	return PLUGIN_HANDLED;
}
Vezi asa :((
Apella
Membru, skill +1
Membru, skill +1
Posts: 445
Joined: 17 Oct 2013, 20:56
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 10 times
Been thanked: 1 time
Contact:

11 Feb 2014, 21:20

GhosT *** wrote:
Apella wrote:
GhosT *** wrote:
| Afiseaza codul
#include <amxmodx>

new const PLUGIN[] = "3 TK = BAN";
new const VERSION[] = "1.0";
new const AUTOR[] = "GhosT ***";

new TeamKills[33];

new max_tk;
new ban_time;

public plugin_init()
{
	register_plugin(PLUGIN, VERSION, AUTOR);
	
	register_event("DeathMsg", "DeathMsg", "a");
	max_tk = register_cvar("max_teamkills", "3");
	ban_time = register_cvar("teamkills_bantime", "120");
}
public DeathMsg()
{
	new iAttacker = read_data(1);
	new iVictim = read_data(2);
	
	new iAttackerIp[32];
	get_user_ip(iAttacker, iAttackerIp, sizeof(iAttackerIp) - 1, 1);
	
	if(TeamKills[iAttacker] >= get_pcvar_num(max_tk))
	{
		server_cmd("amx_banip %s %d ^"%d Team Kills^"", iAttackerIp, get_pcvar_num(ban_time), get_pcvar_num(max_tk));
		TeamKills[iAttacker] = 0;
		return PLUGIN_CONTINUE;
	}
	if(get_user_team(iAttacker) == get_user_team(iVictim))
	{
		TeamKills[iAttacker] += 1;
		client_print(iAttacker, print_center, "%d Team Kills !", TeamKills[iAttacker]);
	}
	
	return PLUGIN_HANDLED;
}
Acum trebuie sa mearga .. Atunci nu mergea pentru ca nu am bagat motiv ;))
TOT NU MERGE ;(
| Afiseaza codul
#include <amxmodx>

new const PLUGIN[] = "3 TK = BAN";
new const VERSION[] = "1.0";
new const AUTOR[] = "GhosT ***";

new TeamKills[33];

new max_tk;
new ban_time;

public plugin_init()
{
	register_plugin(PLUGIN, VERSION, AUTOR);
	
	register_event("DeathMsg", "DeathMsg", "a");
	max_tk = register_cvar("max_teamkills", "3");
	ban_time = register_cvar("teamkills_bantime", "120");
}
public DeathMsg()
{
	new iAttacker = read_data(1);
	new iVictim = read_data(2);
	
	new iAttackerName[32];
	get_user_name(iAttacker, iAttackerName, sizeof(iAttackerName) - 1);
	
	if(TeamKills[iAttacker] >= get_pcvar_num(max_tk))
	{
		server_cmd("amx_banip %s %d ^"%d Team Kills^"", iAttackerName, get_pcvar_num(ban_time), get_pcvar_num(max_tk));
		TeamKills[iAttacker] = 0;
		return PLUGIN_CONTINUE;
	}
	if(get_user_team(iAttacker) == get_user_team(iVictim))
	{
		TeamKills[iAttacker] += 1;
		client_print(iAttacker, print_center, "%d Team Kills !", TeamKills[iAttacker]);
	}
	
	return PLUGIN_HANDLED;
}
Vezi asa :((
tot ala ai dat, nu merge (
User avatar
GhosT ***
Membru, skill +2
Membru, skill +2
Posts: 604
Joined: 04 Dec 2013, 21:52
Detinator Steam: Da
CS Status: Morphin . [ Retras ]
SteamID: Mutulica1428
Reputatie: Fost Moderator ajutator
Location: Dumesti.
Has thanked: 40 times
Been thanked: 99 times
Contact:

11 Feb 2014, 21:23

Apella wrote:
GhosT *** wrote:
Apella wrote: TOT NU MERGE ;(
| Afiseaza codul
#include <amxmodx>

new const PLUGIN[] = "3 TK = BAN";
new const VERSION[] = "1.0";
new const AUTOR[] = "GhosT ***";

new TeamKills[33];

new max_tk;
new ban_time;

public plugin_init()
{
	register_plugin(PLUGIN, VERSION, AUTOR);
	
	register_event("DeathMsg", "DeathMsg", "a");
	max_tk = register_cvar("max_teamkills", "3");
	ban_time = register_cvar("teamkills_bantime", "120");
}
public DeathMsg()
{
	new iAttacker = read_data(1);
	new iVictim = read_data(2);
	
	new iAttackerName[32];
	get_user_name(iAttacker, iAttackerName, sizeof(iAttackerName) - 1);
	
	if(TeamKills[iAttacker] >= get_pcvar_num(max_tk))
	{
		server_cmd("amx_banip %s %d ^"%d Team Kills^"", iAttackerName, get_pcvar_num(ban_time), get_pcvar_num(max_tk));
		TeamKills[iAttacker] = 0;
		return PLUGIN_CONTINUE;
	}
	if(get_user_team(iAttacker) == get_user_team(iVictim))
	{
		TeamKills[iAttacker] += 1;
		client_print(iAttacker, print_center, "%d Team Kills !", TeamKills[iAttacker]);
	}
	
	return PLUGIN_HANDLED;
}
Vezi asa :((
tot ala ai dat, nu merge (
Asta a fost mai schimbat ...
Apella
Membru, skill +1
Membru, skill +1
Posts: 445
Joined: 17 Oct 2013, 20:56
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 10 times
Been thanked: 1 time
Contact:

11 Feb 2014, 21:26

GhosT *** wrote:
Apella wrote:
GhosT *** wrote:
| Afiseaza codul
#include <amxmodx>

new const PLUGIN[] = "3 TK = BAN";
new const VERSION[] = "1.0";
new const AUTOR[] = "GhosT ***";

new TeamKills[33];

new max_tk;
new ban_time;

public plugin_init()
{
	register_plugin(PLUGIN, VERSION, AUTOR);
	
	register_event("DeathMsg", "DeathMsg", "a");
	max_tk = register_cvar("max_teamkills", "3");
	ban_time = register_cvar("teamkills_bantime", "120");
}
public DeathMsg()
{
	new iAttacker = read_data(1);
	new iVictim = read_data(2);
	
	new iAttackerName[32];
	get_user_name(iAttacker, iAttackerName, sizeof(iAttackerName) - 1);
	
	if(TeamKills[iAttacker] >= get_pcvar_num(max_tk))
	{
		server_cmd("amx_banip %s %d ^"%d Team Kills^"", iAttackerName, get_pcvar_num(ban_time), get_pcvar_num(max_tk));
		TeamKills[iAttacker] = 0;
		return PLUGIN_CONTINUE;
	}
	if(get_user_team(iAttacker) == get_user_team(iVictim))
	{
		TeamKills[iAttacker] += 1;
		client_print(iAttacker, print_center, "%d Team Kills !", TeamKills[iAttacker]);
	}
	
	return PLUGIN_HANDLED;
}
Vezi asa :((
tot ala ai dat, nu merge (
Asta a fost mai schimbat ...
eh ms frate pentru ajutor :(:(:( astept inca un ajutor (
Apella
Membru, skill +1
Membru, skill +1
Posts: 445
Joined: 17 Oct 2013, 20:56
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 10 times
Been thanked: 1 time
Contact:

12 Feb 2014, 16:26

SUS va rog ajutatima careva cu acest plugin !
Post Reply

Return to “Cereri”

  • Information