1. sayfa (Toplam 1 sayfa)

Deathrun Sorunu

Gönderilme zamanı: Pzt Tem 17, 2017 1:35 pm
gönderen yunusreis
deathrunda m ye basınca takım desebılıyorlar t ye gecıyorlar nasıl kapatabilirm ?

Deathrun Sorunu

Gönderilme zamanı: Pzt Tem 17, 2017 1:41 pm
gönderen MRX3565

Kod: Tümünü seç

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "No Team Plugins"
#define VERSION "0.0"
#define AUTHOR "OnR1"
new gCvarPluginToggle

public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	register_concmd("jointeam", "bugfix")
	register_concmd("chooseteam", "bugfix")
	gCvarPluginToggle = register_cvar("amx_block_team", "1")
}

public bugfix(id)
{
	// If the plugin don't get the CVAR, it makes you buy normally. 
	if (!get_pcvar_num(gCvarPluginToggle)) 
		return PLUGIN_CONTINUE; 
	client_color(id, "!t[ !yMONSTER !t] !yTakim Degistirmek Yasaklanmistir.")
	// Block the buy commands. 
	return PLUGIN_HANDLED;
}

stock client_color( const id, const input[ ], any:... )
{
	new count = 1, players[ 32 ]
	
	static msg[ 191 ]
	vformat( msg, 190, input, 3 )
	
	replace_all( msg, 190, "!y", "^4" ) /* yesil */
	replace_all( msg, 190, "!s", "^1" ) /* sari */
	replace_all( msg, 190, "!t", "^3" ) /* ct=mavi | t=kirmizi */
	replace_all( msg, 190, "!n", "^0" ) /* Normal */
	
	if( id ) players[ 0 ] = id; else get_players( players, count, "ch" )
{
	for( new i = 0; i < count; i++ )
	{
		if( is_user_connected( players[ i ] ) )
		{
			message_begin( MSG_ONE_UNRELIABLE, get_user_msgid( "SayText" ), _, players[ i ] )
			write_byte( players[ i ] );
			write_string( msg );
			message_end( );
		}
	}
}
}  

Deathrun Sorunu

Gönderilme zamanı: Pzt Tem 17, 2017 6:07 pm
gönderen yunusreis
yav kardes plugın sartmı saten 30 tane plugın var

Deathrun Sorunu

Gönderilme zamanı: Pzt Tem 17, 2017 6:10 pm
gönderen BYFURKAN42
Kardeş şart sıkıntı olmaz pluginden yüklemen lazım