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

Winning team at round end


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
playhardloveenemy
Member
Join Date: Dec 2015
Old 04-28-2016 , 10:28   Winning team at round end
Reply With Quote #1

Hallo everyone.
I'm really new in this and i was looking for simple plugin in the Forum, but couldn't find it.
And i can't do it myself.
I'm looking for plugin that print at the end of every round winning team !
Like: Counter-terrorist are winning 5-1;
For T: Terrorist are winning 5-3
If someone can help, would be great. It's about CS Source server.
Thx!

Last edited by playhardloveenemy; 04-28-2016 at 10:32.
playhardloveenemy is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-28-2016 , 11:19   Re: Winning team at round end
Reply With Quote #2

HookEvent("round_end", Event_RoundEnd);
and use:
CS_GetTeamScore
Mitchell is offline
playhardloveenemy
Member
Join Date: Dec 2015
Old 04-28-2016 , 11:38   Re: Winning team at round end
Reply With Quote #3

Thank you for fast replay ,but it really don't know how to start/make this.
playhardloveenemy is offline
xines
Veteran Member
Join Date: Aug 2013
Location: Denmark
Old 04-28-2016 , 13:48   Re: Winning team at round end
Reply With Quote #4

Quote:
Originally Posted by playhardloveenemy View Post
but i really don't know how to start/make this.
Well, then it's good i do.
Tell me if this is what you need.
Attached Files
File Type: smx winning_team_announcement.smx (4.0 KB, 68 views)
File Type: sp Get Plugin or Get Source (winning_team_announcement.sp - 148 views - 953 Bytes)
__________________
xines is offline
playhardloveenemy
Member
Join Date: Dec 2015
Old 04-28-2016 , 14:11   Re: Winning team at round end
Reply With Quote #5

Exactly what i was looking for. And i'm sure what many people also!
Thank you for making this plugin so fast!
(but is there a chance to make it colorful. Like {blue}Counter-terrorist {default}are winning {green} 1-0)
playhardloveenemy is offline
playhardloveenemy
Member
Join Date: Dec 2015
Old 04-28-2016 , 14:48   Re: Winning team at round end
Reply With Quote #6

Here it is. Colorful.
But, i found something like bug - it only count winning team by round.
If it's 7-3 for CT and T wins, prints: "Terrorists are winning 7-4", when CT still dominate them.
Attached Files
File Type: sp Get Plugin or Get Source (winning_team_announcement.sp - 55 views - 1,007 Bytes)
File Type: smx winning_team_announcement.smx (6.7 KB, 67 views)

Last edited by playhardloveenemy; 04-28-2016 at 15:07.
playhardloveenemy is offline
playhardloveenemy
Member
Join Date: Dec 2015
Old 05-01-2016 , 08:34   Re: Winning team at round end
Reply With Quote #7

I solved the problem like that:
Just fine !
Attached Files
File Type: smx winning_team_announcement.smx (6.7 KB, 77 views)
File Type: sp Get Plugin or Get Source (winning_team_announcement.sp - 93 views - 1,019 Bytes)
playhardloveenemy is offline
Reply


Thread Tools
Display Modes

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 08:25.


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