Cerere pluginuri respawn

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 .
Post Reply
Sergey
Membru, skill +1
Membru, skill +1
Posts: 470
Joined: 15 Jul 2011, 13:14
Detinator Steam: Da
Detinator server CS: DA
Reputatie: Detinator Global.eXtreamCS.Com
Location: Resita
Has thanked: 71 times
Been thanked: 2 times

03 Sep 2012, 20:15

Buna. as vrea si eu 2 pluginuri pentru modul respawn.
1.Un plugin care face ca atunci cand dau hs sa ti se incarce viata iar la loc la 100 si golantele la arma sa se incarce si ele fara sa dau reload eu. sa imi bage automat goante in cartus.
2.un plugin care face ca la orice frag/kill sa imi incarce arma fara sa dau reload.
Image
Image
RoyalServer
User avatar
NisQ
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 4070
Joined: 26 May 2011, 01:52
Detinator Steam: Da
CS Status: 4k hours and still countin'
Detinator server CS: GG.FRAGWAY.COM
SteamID: nisq4vibe
Reputatie: Utilizator neserios (tepar)
Location: LONDON U.K
Has thanked: 29 times
Been thanked: 75 times
Contact:

05 Sep 2012, 18:22

Workin' on my sheet - https://dreambabes.co.uk/
Sergey
Membru, skill +1
Membru, skill +1
Posts: 470
Joined: 15 Jul 2011, 13:14
Detinator Steam: Da
Detinator server CS: DA
Reputatie: Detinator Global.eXtreamCS.Com
Location: Resita
Has thanked: 71 times
Been thanked: 2 times

07 Sep 2012, 02:35

nu este ceea ce caut eu, vreau pluginu de aici http://forums.alliedmods.net/showthread.php?t=104106
Eu nu stiu de ce nu il pot descarca, dau multumesc la cine mi-l descarca de acolo
Image
Image
User avatar
TheBestKiller
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 509
Joined: 31 Jul 2012, 10:57
Detinator Steam: Da
Reputatie: Ban 2 luni
Utilizator neserios (tepar)
Has thanked: 42 times
Been thanked: 27 times

07 Sep 2012, 09:09

Sergey
Membru, skill +1
Membru, skill +1
Posts: 470
Joined: 15 Jul 2011, 13:14
Detinator Steam: Da
Detinator server CS: DA
Reputatie: Detinator Global.eXtreamCS.Com
Location: Resita
Has thanked: 71 times
Been thanked: 2 times

07 Sep 2012, 13:36

Am dat si nu ma lasa sa descarc pluginu. imi spune asta

Code: Select all

SpawNisON, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Descarcal tu si pune alt link de download
Image
Image
User avatar
geo_neo9
Membru, skill +1
Membru, skill +1
Posts: 343
Joined: 29 Aug 2007, 09:45
Detinator Steam: Da
Has thanked: 12 times
Been thanked: 74 times

07 Sep 2012, 14:17

Code: Select all

#include <amxmodx>
#include <amxmisc>
#include <fun>

#define VERSION	"1.2"

new const kSound[] = "weapons/c4_click.wav";

new cHealth, cSound, cHud, cMax, cHead, gMaxClients;
new iAddHp, iHealth;

public plugin_init()
{
	register_plugin("Health Kill", VERSION, "BOYSplayCS");
	
	register_event("DeathMsg", "eventDeath", "a", "1>0");
	
	cHealth = register_cvar("amx_hk_health", "5");
	cSound = register_cvar("amx_hk_sound", "1");
	cHud = register_cvar("amx_hk_hud", "1");
	cMax = register_cvar("amx_hk_max", "100");
	cHead = register_cvar("amx_hk_headshot", "10");
	
	gMaxClients = get_maxplayers();
}

public plugin_precache()
{
	precache_sound(kSound);
}

public eventDeath()
{
	new iKiller = read_data(1);
	new iVictim = read_data(2);
	new iHeadshot = read_data(3);
	
	new iMax = get_pcvar_num(cMax);
	
	if (iKiller == iVictim || !is_user_alive(iKiller) || (get_user_team(iVictim) == get_user_team(iKiller)))
		return PLUGIN_CONTINUE;
	
	if (iHeadshot)
	{
		iAddHp = get_pcvar_num(cHead);
	}
	
	else
	{
		iAddHp = get_pcvar_num(cHealth);
	}
	
	iHealth = get_user_health(iKiller);
	iHealth += iAddHp;
	
	if (1 <= iKiller <= gMaxClients)
	{
		if (iHealth < iMax)
		{
			if (!get_pcvar_num(cHud))
				return PLUGIN_CONTINUE;
			
			if (!get_pcvar_num(cSound))
				return PLUGIN_CONTINUE;
			
			set_user_health(iKiller, get_user_health(iKiller) + iHealth);
			
			set_hudmessage(0, 255, 50, 0.50, 0.33, 1, 2.0, 2.0);
			show_hudmessage(iKiller, "+%i HP", iAddHp);
			
			client_cmd(iKiller, "spk %s", kSound);
		}
	}
	
	return PLUGIN_CONTINUE;
}
Sergey
Membru, skill +1
Membru, skill +1
Posts: 470
Joined: 15 Jul 2011, 13:14
Detinator Steam: Da
Detinator server CS: DA
Reputatie: Detinator Global.eXtreamCS.Com
Location: Resita
Has thanked: 71 times
Been thanked: 2 times

07 Sep 2012, 20:54

Mersi, ai un "multumesc" imi poti face rost de un plugin care iti adauga automat gloantele pe cartus cand faci frag, fara sa mai dai reload?

Adica: Eu am m4a1, mai am pe cartus 25 de gloante, tag 5 gloante si fag frag, imediat cum am facut frag pe cartus sa am dinou 30 de gloane fara sa mai dau reload?
Image
Image
User avatar
geo_neo9
Membru, skill +1
Membru, skill +1
Posts: 343
Joined: 29 Aug 2007, 09:45
Detinator Steam: Da
Has thanked: 12 times
Been thanked: 74 times

07 Sep 2012, 23:18

Incearca

Code: Select all

/*    Copyright © 2009, ConnorMcLeod

    Refill Weapon On Kill is free software;
    you can redistribute it and/or modify it under the terms of the
    GNU General Public License as published by the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Refill Weapon On Kill; if not, write to the
    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.
*/

#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>

#define PLUGIN "Refill Weapon On Kill"
#define AUTHOR "ConnorMcLeod"
#define VERSION "0.0.2"

#define m_iId                43
#define m_iPrimaryAmmoType    49
#define m_fInReload            54

#define m_flNextAttack    83
#define m_pActiveItem    373
#define m_rgAmmo_Player_Slot0    376

#define IsPlayer(%1)    ( 1 <= %1 <= g_iMaxPlayers )

const NOCLIP_WPN_BS    = ((1<<CSW_HEGRENADE)|(1<<CSW_SMOKEGRENADE)|(1<<CSW_FLASHBANG)|(1<<CSW_KNIFE)|(1<<CSW_C4))

new g_iMaxPlayers

public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)

    RegisterHam(Ham_Killed, "player", "Player_Killed", 1)

    g_iMaxPlayers = get_maxplayers()
}

public Player_Killed(iVictim, iKiller, iGib)
{
    if( IsPlayer(iKiller) && is_user_alive(iKiller) )
    {
        new iWeapon = get_pdata_cbase(iKiller, m_pActiveItem)
        if(    iWeapon > 0
        &&    !( NOCLIP_WPN_BS & (1<<get_pdata_int(iWeapon, m_iId, 4)) )    )
        {
            new Float:flNextAttack = get_pdata_float(iKiller, m_flNextAttack, 5)
            set_pdata_float(iKiller, m_flNextAttack, -0.001, 5)

            new iButton = pev(iKiller, pev_button)
            set_pev(iKiller, pev_button, iButton & ~(IN_ATTACK|IN_ATTACK2|IN_RELOAD))
            set_pdata_int(iWeapon, m_fInReload, 1, 4)
            ExecuteHamB(Ham_Item_PostFrame, iWeapon)

            set_pdata_int(iKiller, m_rgAmmo_Player_Slot0 + get_pdata_int(iWeapon, m_iPrimaryAmmoType, 4), 200)
            set_pdata_float(iKiller, m_flNextAttack, flNextAttack, 5)
            set_pev(iKiller, pev_button, iButton)
        }
    }
}  
Post Reply

Return to “Cereri”

  • Information