Raised This Month: $51 Target: $400
 12% 

CS Pug Mod (4.0.2) [22/12/2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Vivo
Senior Member
Join Date: May 2014
Old 05-22-2015 , 21:14   Re: CS Pug MOD [UPDATED 04/25/2015]
Reply With Quote #511

Just nevermind thanks anyway.
__________________
ViRuSeS # The best Servers and Host: viruses.ga
CSGO: 185.107.96.150:27015 or viruses.ga:27015
TeamSpeak3: 185.107.96.150:9987 or viruses.ga
Welcome! Good luck and have fun enjoy your time.

Last edited by Vivo; 05-22-2015 at 21:22.
Vivo is offline
GhostMan
Senior Member
Join Date: Jun 2012
Old 05-24-2015 , 10:05   Re: CS Pug MOD [UPDATED 04/25/2015]
Reply With Quote #512

Add messages in chat like

[pug] x have made an ace!
[pug] x have made a mini-ace!
__________________
Hi.
GhostMan is offline
perforator
Junior Member
Join Date: Mar 2015
Old 05-24-2015 , 15:56   Re: CS Pug MOD [UPDATED 04/25/2015]
Reply With Quote #513

Quote:
Originally Posted by GhostMan View Post
Add messages in chat like

[pug] x have made an ace!
[pug] x have made a mini-ace!
Enjoy!

Code:
#include < amxmisc >
#include < hamsandwich >

#define PLUGIN		"ACE detect"
#define VERSION		"2.0"
#define AUTHOR		"perf"

#define PREFIX		"[PUG]"

new g_Kills[ MAX_PLAYERS + 1 ]

public plugin_init( )
{
	register_plugin( PLUGIN, VERSION, AUTHOR )
	register_logevent( "RoundEnd", 2, "1=Round_End" )
	RegisterHam( Ham_Spawn, "player", "FwdPlayerSpawn_Post", 1)
}

public client_death( Killer, Victim, WpnIndex, HitPlace, TK )
{	
	if( get_user_team( Killer ) == ( get_user_team( Victim )))
	return;
	
	if( Killer == Victim )
	return;
	
	g_Kills[ Killer ]++
}

public FwdPlayerSpawn_Post( id )
{
	g_Kills[ id ] = 0
}

public client_putinserver ( id )
{
	g_Kills[ id ] = 0
}

public RoundEnd( )
{
	set_task( 0.5, "detect" )
}

public detect( )
{
	new Players[ MAX_PLAYERS ]
	new iNum
	new i
	
	get_players( Players, iNum, "ch" )
	
	for( --iNum; iNum >= 0; iNum-- )
	{
		i = Players[ iNum ]
		
		if( g_Kills[ i ] == 4 )
		{
			client_print_color(0, print_team_default, "^4%s ^1[miniACE]^3[miniACE]^4[miniACE]", PREFIX)
			client_print_color(0, print_team_default, "^4%s ^1Send your demo on ^4Top10 ^3week moments!!!", PREFIX)
			client_print_color(0, print_team_default, "^4%s ^3http://vk.com/automix_perf", PREFIX)
		}
		
		if( g_Kills[ i ] >= 5 )
		{
			client_print_color(0, print_team_default, "^4%s ^1=(ACE)= ^3=(ACE)= ^4=(ACE)=", PREFIX)
			client_print_color(0, print_team_default, "^4%s ^1Send your demo on ^4Top10 ^3week moments!!!", PREFIX)
			client_print_color(0, print_team_default, "^4%s ^3http://vk.com/automix_perf", PREFIX)
		}
	}
}
perforator is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 05-24-2015 , 20:14   Re: CS Pug MOD [UPDATED 04/25/2015]
Reply With Quote #514

Totally wrong

Use this two files:
Attached Files
File Type: sma Get Plugin or Get Source (PugAux.sma - 801 views - 10.8 KB)
File Type: txt PugAux.txt (1.9 KB, 195 views)
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 

Last edited by ^SmileY; 05-24-2015 at 20:17. Reason: Oops
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
perforator
Junior Member
Join Date: Mar 2015
Old 05-26-2015 , 01:09   Re: CS Pug MOD [UPDATED 04/25/2015]
Reply With Quote #515

Quote:
Originally Posted by ^SmileY View Post
Totally wrong

Use this two files:
Im a true coder xDDD
perforator is offline
utaker
Senior Member
Join Date: Dec 2013
Old 05-31-2015 , 09:49   Re: CS Pug MOD [UPDATED 04/25/2015]
Reply With Quote #516

did exactly as you said , too many files changed and still error

[AMXX] Plugin file open error (plugin "PugFlood.amxx")
and so many more, finally uninstalled
utaker is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 05-31-2015 , 18:02   Re: CS Pug MOD [UPDATED 04/25/2015]
Reply With Quote #517

Quote:
Originally Posted by utaker View Post
did exactly as you said , too many files changed and still error

[AMXX] Plugin file open error (plugin "PugFlood.amxx")
and so many more, finally uninstalled
Did you used amxx dev build version? Post more details here.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-01-2015 , 04:48   Re: CS Pug MOD [UPDATED 04/25/2015]
Reply With Quote #518

Plugin file open error = compiled plugin "PugFlood.amxx" doesn't exist in plugins/ directory.
__________________
Arkshine is offline
GhostMan
Senior Member
Join Date: Jun 2012
Old 06-03-2015 , 12:08   Re: CS Pug MOD [UPDATED 04/25/2015]
Reply With Quote #519

It would be nice if you would add .surrender vote.

It's very annoying when there is no admin and you have to play 3vs5.
__________________
Hi.
GhostMan is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 06-04-2015 , 14:16   Re: CS Pug MOD [UPDATED 04/25/2015]
Reply With Quote #520

Quote:
Originally Posted by GhostMan View Post
It would be nice if you would add .surrender vote.

It's very annoying when there is no admin and you have to play 3vs5.
Pug already ends the game when this occurs
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode