Cerere Plugin VIP

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
C.Artur
Fost moderator
Fost moderator
Posts: 7386
Joined: 04 Oct 2013, 13:32
Detinator Steam: Da
Reputatie: Fost Super Moderator
Location: Cluj Napoca
Has thanked: 136 times
Been thanked: 99 times
Contact:

14 Dec 2013, 17:01

Download AMXX.

Beneficii VIP:

Code: Select all

120 HP la fiecare spawn
+100 AP la fiecare spawn (100 AP de la VIP + 100 AP de la CSDM = 200 AP)
Atunci cand un VIP face frag arma i se reincarca automat si primeste +10 HP sau +15 HP daca fragul a fost facut cu HS (Maxim HP : 150)
700 Gravitatie la fiecare spawn
300 Viteza la fiecare spawn
Multi-Jump (o saritura in aer suplimentara)
Silent Walk (nu i se aud pasii)
Damage marit cu 5% pentru toate armele, inclusiv grenada
Apare ca VIP in score-tab (merge atat pentru tero cat si pentru CT)
Mesaj la connectare, atunci cand se connecteaza va aparea un mesaj colorat de genul
: "[ATENTIE] *VIP* X s-a connectat."
Cum dai VIP?:

Code: Select all

"Nick VIP" "Parola VIP" "bit" "a"
Pentru /vip mai sus . trebuie sa il bagati in cstrike cu extensia .txt
| Afiseaza codul
html>
<head>
<style type="text/css">
body    {
    background-color: #000000;
    font-family:Verdana,Tahoma;
        }
</style>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1257">
</head>
<font size="2" color="#e0a518"><b><center>Ce beneficii are vipul ?</center></b></font><br />
<font size="1" color="#c0c0ff">
<UL>
<LI TYPE=square>1 kill = 15 HP + 1500$.</LI><br>
<LI TYPE=square>1 HS = 30HP + 3000$</LI><br>
<LI TYPE=square> Primesti gratis un set de grenazi [HE/2FB/SK],armura,deagle si gloante,defuser,night vision,etc.</LI><br>
<LI TYPE=square> Vezi DMG-ul facut in timp real.</LI><br>
<LI TYPE=square> Ai no team flash.</LI><br>
<LI TYPE=square> Ai team semi-clip.</LI><br>
<LI TYPE=square> Iti resetezi doar deaths nu si kills.</LI><br>
<LI TYPE=square> Poti lua gratis sg550 si aug prin comenzile /sg550 si /aug </LI><br>
<LI TYPE=square> Incepand cu a 2-a runda vei beneficia de un meniu cu arme.Unul la T si altul la CT</LI><br>
<LI TYPE=square> Poti folosi chatul adminilor.</LI><br>
<LI TYPE=square> Beneficiezi de slot rezervat si imunitate.</LI><br>
<LI TYPE=square> Scrie /vips pentru a vedea VIP's online.</LI><br>



<font size="1" color=#00c000><strong>Cat costa un grad de VIP:</strong></font><br>
Pretul pentru V.I.P.: <br>
Pentru a cumpara V.I.P. add <font color=#FF6600> </font><br><br />

</body>
</html>
Rapidserver
mvpdan66
Membru, skill 0
Membru, skill 0
Posts: 61
Joined: 19 Aug 2013, 18:57
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 2 times
Been thanked: 3 times
Contact:

15 Dec 2013, 13:41

Ms am sal testez la noapte ! :) Revin cu Edit .
Image
Image
! OFERTA ! OWNER+VIP 7 Euro | | CO-OWNER+VIP 5 Euro ! OFERTA ! + 100 ADMINE Free.
Contact Me: Ticatica14@yahoo.com And Skype: Mvpdan66 ! Da un vot http://www.resursecs.com/frags/frag.php ... R3.Cs16.RO Pentru a voota dati click pe link si dati pe Go Go GO . + ca care ma poate ajuta cu 100 voturi pe zi primeste ADMIN + VIP
mvpdan66
Membru, skill 0
Membru, skill 0
Posts: 61
Joined: 19 Aug 2013, 18:57
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 2 times
Been thanked: 3 times
Contact:

16 Dec 2013, 18:04

AMPHETAMINE wrote:Download AMXX.

Beneficii VIP:

Code: Select all

120 HP la fiecare spawn
+100 AP la fiecare spawn (100 AP de la VIP + 100 AP de la CSDM = 200 AP)
Atunci cand un VIP face frag arma i se reincarca automat si primeste +10 HP sau +15 HP daca fragul a fost facut cu HS (Maxim HP : 150)
700 Gravitatie la fiecare spawn
300 Viteza la fiecare spawn
Multi-Jump (o saritura in aer suplimentara)
Silent Walk (nu i se aud pasii)
Damage marit cu 5% pentru toate armele, inclusiv grenada
Apare ca VIP in score-tab (merge atat pentru tero cat si pentru CT)
Mesaj la connectare, atunci cand se connecteaza va aparea un mesaj colorat de genul
: "[ATENTIE] *VIP* X s-a connectat."
Cum dai VIP?:

Code: Select all

"Nick VIP" "Parola VIP" "bit" "a"
Pentru /vip mai sus . trebuie sa il bagati in cstrike cu extensia .txt
| Afiseaza codul
html>
<head>
<style type="text/css">
body    {
    background-color: #000000;
    font-family:Verdana,Tahoma;
        }
</style>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1257">
</head>
<font size="2" color="#e0a518"><b><center>Ce beneficii are vipul ?</center></b></font><br />
<font size="1" color="#c0c0ff">
<UL>
<LI TYPE=square>1 kill = 15 HP + 1500$.</LI><br>
<LI TYPE=square>1 HS = 30HP + 3000$</LI><br>
<LI TYPE=square> Primesti gratis un set de grenazi [HE/2FB/SK],armura,deagle si gloante,defuser,night vision,etc.</LI><br>
<LI TYPE=square> Vezi DMG-ul facut in timp real.</LI><br>
<LI TYPE=square> Ai no team flash.</LI><br>
<LI TYPE=square> Ai team semi-clip.</LI><br>
<LI TYPE=square> Iti resetezi doar deaths nu si kills.</LI><br>
<LI TYPE=square> Poti lua gratis sg550 si aug prin comenzile /sg550 si /aug </LI><br>
<LI TYPE=square> Incepand cu a 2-a runda vei beneficia de un meniu cu arme.Unul la T si altul la CT</LI><br>
<LI TYPE=square> Poti folosi chatul adminilor.</LI><br>
<LI TYPE=square> Beneficiezi de slot rezervat si imunitate.</LI><br>
<LI TYPE=square> Scrie /vips pentru a vedea VIP's online.</LI><br>



<font size="1" color=#00c000><strong>Cat costa un grad de VIP:</strong></font><br>
Pretul pentru V.I.P.: <br>
Pentru a cumpara V.I.P. add <font color=#FF6600> </font><br><br />

</body>
</html>
Pune alt link :)
Image
Image
! OFERTA ! OWNER+VIP 7 Euro | | CO-OWNER+VIP 5 Euro ! OFERTA ! + 100 ADMINE Free.
Contact Me: Ticatica14@yahoo.com And Skype: Mvpdan66 ! Da un vot http://www.resursecs.com/frags/frag.php ... R3.Cs16.RO Pentru a voota dati click pe link si dati pe Go Go GO . + ca care ma poate ajuta cu 100 voturi pe zi primeste ADMIN + VIP
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:

17 Dec 2013, 16:29

| Afiseaza codul
/* Credits

	GhosT *** - Crearea pluginului
	twistedeuphoria - Cod pentru Multi Jumps
	Dunno - Primul creator al "sistemului de add HP" daca ii pot spune asa.
										*/

//include

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fakemeta_util>
#include <fun>
#include <colorchat>
#include <hamsandwich>
#include <engine>

// define

#define PLUGIN "VIP"
#define VERSION "1.0"
#define AUTHOR "GhosT"

#define VIP_LEVEL ADMIN_LEVEL_H
#define player_is_vip(%1)	(get_user_flags(%1) & VIP_LEVEL)

new jumpnum[33] = 0
new bool:dojump[33] = false

new nKiller
new nKiller_hp
new nHp_add
new nHp_max
new kill, kill_hs, max_hp;

public plugin_init()
{
	register_plugin(PLUGIN, VERSION, AUTHOR)
	
	RegisterHam(Ham_Spawn, "player", "vip_spawn", 1);
	RegisterHam(Ham_TakeDamage, "player", "damage");
	register_message(get_user_msgid("ScoreAttrib"),"vip_scoreboard");
	register_event("DeathMsg", "hp_add", "a", "1>0")
	
	register_cvar("amx_maxjumps","1")
	register_cvar("amx_mjadminonly","1")
	kill = register_cvar("kill_hp", "10")
	kill_hs = register_cvar("kill_hs_hp", "15")
	max_hp = register_cvar("max_hp_add", "150")
}

public client_putinserver(id)
{
	jumpnum[id] = 0
	dojump[id] = false
}
public client_connect(id)
{
	client_putinserver(id)
	if(player_is_vip(id))
	{
		new name[33];
		get_user_name(id, name, 33)
		ColorChat(id, GREEN, "[VIP]^x03 VIP %s se connecteaza pe server !", name)
	}
}
public client_disconnect(id)
{
	client_putinserver(id)
	new name[33];
	get_user_name(id, name, 33)
	ColorChat(id, GREEN, "[VIP]^x03 VIP %s a iesit de pe server !", name)
}

public vip_spawn(id)
{
	if(get_user_team(id) == 1 && player_is_vip(id))
	{
		set_task(2.0, "spawn_te", id)
	}
	if(get_user_team(id) == 2 && player_is_vip(id))
	{
		set_task(2.0, "spawn_ct", id)
	}
}
public spawn_te(id)
{
	fm_set_user_armor(id, get_user_armor(id) + 100)
	fm_set_user_health(id, 120)
	fm_set_user_gravity(id, 700.0)
	fm_set_user_maxspeed(id, 300.0)
	set_user_footsteps(id, 0)
}
public spawn_ct(id)
{
	fm_set_user_armor(id, get_user_armor(id) + 100)
	fm_set_user_health(id, 120)
	fm_set_user_gravity(id, 700.0)
	fm_set_user_maxspeed(id, 300.0)
	set_user_footsteps(id, 0)
}
public damage(id, iVictim, iInflictor, iAttacker, Float:fDamage, iDamageBits)
{
	if(player_is_vip(id))
	{
		
		if(get_user_weapon(iAttacker) == CSW_AK47)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_AUG)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_AWP)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_DEAGLE)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_ELITE)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_FAMAS)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_FIVESEVEN)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_G3SG1)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_GALI)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_GLOCK18)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_HEGRENADE)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_KNIFE)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_M3)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_M4A1)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_M249)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_MAC10)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_MP5NAVY)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_P90)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_P228)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_SCOUT)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_SG550)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_SG552)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_TMP)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_UMP45)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
		else if(get_user_weapon(iAttacker) == CSW_USP)
		{
			SetHamParamFloat(4, fDamage * 1.5);
			return HAM_HANDLED;
		}
	}
	return HAM_IGNORED;
}
	
public vip_scoreboard(const MsgId, const MsgType, const MsgDest) 
{
	static id;
	id = get_msg_arg_int(1);
	if(player_is_vip(id))
	set_msg_arg_int(2, ARG_BYTE, (1 << 2 ));
}

public client_PreThink(id)
{
	if(!is_user_alive(id)) return PLUGIN_CONTINUE
	if(get_cvar_num("amx_mjadminonly") && (!access(id,player_is_vip(id)))) return PLUGIN_CONTINUE
	new nbut = get_user_button(id)
	new obut = get_user_oldbutton(id)
	if((nbut & IN_JUMP) && !(get_entity_flags(id) & FL_ONGROUND) && !(obut & IN_JUMP))
	{
		if(jumpnum[id] < get_cvar_num("amx_maxjumps"))
		{
			dojump[id] = true
			jumpnum[id]++
			return PLUGIN_CONTINUE
		}
	}
	if((nbut & IN_JUMP) && (get_entity_flags(id) & FL_ONGROUND))
	{
		jumpnum[id] = 0
		return PLUGIN_CONTINUE
	}
	return PLUGIN_CONTINUE
}

public client_PostThink(id)
{
	if(!is_user_alive(id)) return PLUGIN_CONTINUE
	if(get_cvar_num("amx_mjadminonly") && (!access(id,player_is_vip(id)))) return PLUGIN_CONTINUE
	if(dojump[id] == true)
	{
		new Float:velocity[3]	
		entity_get_vector(id,EV_VEC_velocity,velocity)
		velocity[2] = random_float(265.0,285.0)
		entity_set_vector(id,EV_VEC_velocity,velocity)
		dojump[id] = false
		return PLUGIN_CONTINUE
	}
	return PLUGIN_CONTINUE
}

public hp_add(id)
{
	   nKiller = read_data(1)
	   
	   if ( (read_data(3) == 1) && (read_data(5) == 0) )
	   {
	      nHp_add = get_pcvar_num (kill)
	   }
	   else
	   nHp_add = get_pcvar_num (kill_hs)
	   nHp_max = get_pcvar_num (max_hp)
	   
	   if(!(get_user_flags(nKiller) & VIP_LEVEL))
	   return;
	
	   nKiller_hp = get_user_health(nKiller)
	   nKiller_hp += nHp_add
	   
	   if (nKiller_hp > nHp_max) nKiller_hp = nHp_max
	   set_user_health(nKiller, nKiller_hp)
	   
	   message_begin(MSG_ONE, get_user_msgid("ScreenFade"), {0,0,0}, nKiller)
	   write_short(1<<10)
	   write_short(1<<10)
	   write_short(0x0000)
	   write_byte(0)
	   write_byte(0)
	   write_byte(200)
	   write_byte(75)
	   message_end()
}
L-am refacut si eu
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 17 guests