[Plugin] ZE Break Info Chat

Pluginuri pentru modul AmxModX.

Moderators: Moderatori ajutatori, Moderatori

Post Reply
User avatar
dragonCSX
Membru, skill +1
Membru, skill +1
Posts: 192
Joined: 04 Feb 2017, 17:36
Detinator Steam: Da
CS Status: Web Developer / Scripting AMXX.
Detinator server CS: da
SteamID: weedakadulceata
Fond eXtream: 0
Location: Ploiesti
Contact:

19 Aug 2018, 01:41

Descriere: Acest plugin anunță in chat când un player distruge o scândură , o usa , un vent din modul Zombie Escape !

Descarcare: Click Aici!

Nume: (ZE) Break Info Chat
Versiune: 1.x
Link oficial: http://www.extreamcs.com

Instalare:
1. Fisierul break_info_chat.sma il puneti in addons/amxmodx/scripting
2. Fisierul break_info_chat.amxx il puneti in addons/amxmodx/plugins
3. Intrați în addons/amxmodx/configs deschideți plugins.ini și treceți .

Code: Select all

break_info_chat.amxx
Cvar-uri (nu conține cvar-uri):


Comenzi administrative (nu are):

Comenzi publice (nu are.):

Module necesare (nu necesita):
- CStrike
- Fun


Imagini:
Puteti descoperi singuri
IG-BOOST.org - Instagram Followers Best, Cheap, Reliable
Junky0074
Membru, skill 0
Membru, skill 0
Posts: 4
Joined: 21 Apr 2019, 15:25
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Has thanked: 2 times

21 Apr 2019, 16:26

Salut .. o noua sursa de descarcare te rog ?
Nu merge sa descadc de pe girlshare
User avatar
L E V I N
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 2174
Joined: 24 Aug 2011, 11:24
Detinator Steam: Da
CS Status:
Detinator server CS: ☯∴
SteamID: riseofevo
Reputatie: Scripter eXtreamCS
Nume anterior: Adryyy
Location: ҳ̸Ҳ̸ҳ
Has thanked: 33 times
Been thanked: 349 times
Contact:

21 Apr 2019, 17:08

Nu fac nimic contra cost! Faceți cerere bine detaliată aici, pe forum. Nu-mi mai dați add pe Steam doar pentru a mă avea în lista de prieteni.
Am cont și activez doar aici! Aveți grijă la cei ce încearcă să mă copieze..Puteți lua legătura cu mine dacă aveți o problemă/nelămurire în acest caz.
User avatar
Rainq
Manager ZM
Manager ZM
Posts: 2603
Joined: 21 Jul 2015, 18:50
Detinator Steam: Da
CS Status: Busy
Detinator server CS: ---
Reputatie: Fost moderator
Manager ZM.eXtreamCS.COM
Fost Membru Club eXtreamCS (trei luni)
Fond eXtream: 0
Location: Bucuresti
Been thanked: 11 times
Contact:

21 Apr 2019, 21:16

Am pus astea direct aici ca sa nu fie nevoie de alt link altadata


Break Version:

break_info_chat_colord.sma

Code: Select all

#include <amxmodx>
#include <hamsandwich>
#include <engine>

public plugin_init()
{
    register_plugin("Breakable","1.0","Raheem")
    
    RegisterHam(Ham_TakeDamage,"func_breakable","FwdHamBreakableKilled",1)
}

public FwdHamBreakableKilled(ent, weapon, killer)
{
    if(entity_get_float(ent,EV_FL_health)<0)
    {
        static name[ 32 ];
        get_user_name( killer, name, charsmax( name ) );
        print_colored(0,"!y*** !gPlayer !t%s !ghas broken Something!y ***",name)
        return(HAM_IGNORED);
    }
    return(HAM_IGNORED);
}

/* Color Stocks */

stock print_colored( const id, const input[], any: ... )
{
	new count = 1, players[32], i, player;
	static msg[191];
	if ( numargs() == 2 )
		copy( msg, 190, input );
	else
		vformat( msg, 190, input, 3 );
	replace_all( msg, 190, "!g", "^4" );
	replace_all( msg, 190, "!y", "^1" );
	replace_all( msg, 190, "!t", "^3" );
	if ( id )
	{
		if ( !is_user_connected( id ) ) return;
		players[0] = id;
	} else get_players( players, count, "ch" );
	for ( i = 0; i < count; i++ )
	{
		player = players[i];
		message_begin( MSG_ONE_UNRELIABLE, get_user_msgid( "SayText" ), _, player );
		write_byte( player );
		write_string( msg );
		message_end();
	}
}
break_info_dhud.sma

Code: Select all

#include <amxmodx>
#include <hamsandwich>
#include <dhudmessage>
#include <engine>

public plugin_init()
{
    register_plugin("Breakable","1.0","Raheem")
    
    RegisterHam(Ham_TakeDamage,"func_breakable","FwdHamBreakableKilled",1)
}

public FwdHamBreakableKilled(ent, weapon, killer)
{
    if(entity_get_float(ent,EV_FL_health)<0)
    {
        static name[ 32 ];
        get_user_name( killer, name, charsmax( name ) );
        set_dhudmessage( random( 255 ), random( 255 ), random( 256 ), -1.0, 0.35, 2, 6.0, 3.0, 0.1, 1.5)
        show_dhudmessage( 0, "**** Player %s has broken Something ****", name )
        return(HAM_IGNORED);
    }
    return(HAM_IGNORED);
}
Damage Version:

break_info_colord_chat.sma

Code: Select all

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

public plugin_init()
{
	register_plugin( "Breakable", "1.0", "Raheem" );
	RegisterHam( Ham_TakeDamage, "func_breakable", "ham_attacked" );
}
public ham_attacked( ent, weapon, killer, dmg )
{
	new health = pev( ent, pev_health );
	if ( health - dmg <= 0.0 )
	{
		static name[32];
		get_user_name( killer, name, charsmax( name ) );
		print_colored( 0, "!y**** !g Player !t%s !gis Breaking Something !y****", name );
		return(HAM_IGNORED);
	}
	return(HAM_IGNORED);
}

/* Color Stocks */

stock print_colored( const id, const input[], any: ... )
{
	new count = 1, players[32], i, player;
	static msg[191];
	if ( numargs() == 2 )
		copy( msg, 190, input );
	else
		vformat( msg, 190, input, 3 );
	replace_all( msg, 190, "!g", "^4" );
	replace_all( msg, 190, "!y", "^1" );
	replace_all( msg, 190, "!t", "^3" );
	if ( id )
	{
		if ( !is_user_connected( id ) ) return;
		players[0] = id;
	} else get_players( players, count, "ch" );
	for ( i = 0; i < count; i++ )
	{
		player = players[i];
		message_begin( MSG_ONE_UNRELIABLE, get_user_msgid( "SayText" ), _, player );
		write_byte( player );
		write_string( msg );
		message_end();
	}
}

break_info_dhud.sma

Code: Select all

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

public plugin_init()
{
	register_plugin( "Breakable", "1.0", "Raheem" );
	RegisterHam( Ham_TakeDamage, "func_breakable", "ham_attacked" );
}
public ham_attacked( ent, weapon, killer, dmg )
{
	new health = pev( ent, pev_health );
	if ( health - dmg <= 0.0 )
	{
		static name[32];
		get_user_name( killer, name, charsmax( name ) );
		set_dhudmessage( random( 255 ), random( 255 ), random( 256 ), -1.0, 0.35, 0, 0.0, 1.0, 0.0, 0.0 );
		show_dhudmessage( 0, "**** Player %s is Breaking Something ****", name );
		return(HAM_IGNORED);
	}
	return(HAM_IGNORED);
}

RETRAS
Image
Leul si tigru sunt mai puternici ca lupul,dar lupul la circ nu participa.
Post Reply

Return to “AmxModX”

  • Information