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

Most Valuable Player (MVP) (1.0.3 - 22.03.2014)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 03-17-2014 , 12:36   Most Valuable Player (MVP) (1.0.3 - 22.03.2014)
Reply With Quote #1

Most Valuable Player (MVP)
- v1.0.3, last updated : 22.03.2014

This plugin shows a Director HUD Message at the end of each round deciding who was the MVP (Most Valuable Player) this round.
MVP is decided by this conditions by now :
  1. Planted the Bomb and Bomb exploded.
  2. Defused the Bomb.
  3. Made the most kills.
Also, the plugin checks if they are any bomb spots on the map, if not, the plugin disables itself.


Requirements
  • Steam-only Server
  • Local Compiler or Webcompiler which compiles with Director Hud Message Include.

Media





To-Do
  • Adding Fun Facts (Random information below the MVP Message)
  • Saving MVP (maybe)
  • Adding Support for Hostage Maps
  • If you have any ideas, post them here.


Change Log
v1.0.3 : [ 22.03.2014 ]
  • Added support for Hostage Maps.
  • Removed not used variables.
  • Optimized Code.
Attached Files
File Type: sma Get Plugin or Get Source (mvp.sma - 2796 views - 7.6 KB)
__________________

Last edited by Kia; 03-22-2014 at 07:04.
Kia is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 03-17-2014 , 12:39   Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
Reply With Quote #2

Hum it should be only for bomb explosion, not planted.
__________________
Jhob94 is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 03-17-2014 , 12:42   Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
Reply With Quote #3

There is a check for that inside.
PHP Code:
if(g_iBombPlanter != NO_BOMB_PLANTED && g_bBombExploded == false)
{
    new 
iTopKiller GetTopKiller(1)
    
ShowMVPMessage(iTopKiller1)

PHP Code:
// ===============================================================================
//      bomb_explode - Called when the Bomb exploded
// ===============================================================================

public bomb_explode(iPlanteriDefuser)
{
    
g_bBombExploded true
    ShowMVPMessage
(g_iBombPlanter3)

__________________

Last edited by Kia; 03-17-2014 at 12:43.
Kia is offline
5aloOod
Senior Member
Join Date: Jun 2013
Location: hell
Old 03-17-2014 , 12:54   Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
Reply With Quote #4

nice plugin, like Cs:GO mvp
EDIT: some ideas
- killed x player/s while flash banged ( this can be in Random information below the MVP Message )
- killed x player/s with head shot ( this can Random information below the MVP Message too)
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه

Last edited by 5aloOod; 03-17-2014 at 13:06.
5aloOod is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 03-17-2014 , 13:01   Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
Reply With Quote #5

Quote:
Originally Posted by 5aloOod View Post
nice plugin, like Cs:GO mvp
Thanks, other CS:GO Plugins will follow soon.

Quote:
Originally Posted by 5aloOod View Post
EDIT: some ideas
- killed x player/s while flash banged ( this can be in Random information below the MVP Message )
- killed x player/s with head shot ( this can Random information below the MVP Message too)
Guess what.
__________________

Last edited by Kia; 03-17-2014 at 13:07.
Kia is offline
AspireAut
New Member
Join Date: Mar 2014
Old 03-17-2014 , 13:30   Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
Reply With Quote #6

How i Installed this?...

I'm a total Noob, please a little Tutorial for me...
AspireAut is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 03-17-2014 , 13:44   Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
Reply With Quote #7

Quote:
Originally Posted by AspireAut View Post
How i Installed this?...

I'm a total Noob, please a little Tutorial for me...
http://www.amxmodx.org/doc/index.htm...ns.htm#install
__________________
Kia is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 03-17-2014 , 14:53   Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
Reply With Quote #8

Quote:
Originally Posted by Kia View Post
There is a check for that inside.
if(g_iBombPlanter != NO_BOMB_PLANTED && g_bBombExploded == false)
{
new iTopKiller = GetTopKiller(1)
ShowMVPMessage(iTopKiller, 1)
}
So your description was wrong?
__________________

Last edited by Jhob94; 03-17-2014 at 14:53.
Jhob94 is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 03-17-2014 , 14:55   Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
Reply With Quote #9

Why?
__________________
Kia is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 03-17-2014 , 19:23   Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
Reply With Quote #10

What about get_map_objectives native?

PHP Code:
public Event_DeathMsg()
    
g_iEnemiesKilled[read_data(1)]++ 
This seems not stable, in my opinion.
__________________

Last edited by claudiuhks; 03-17-2014 at 19:25.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
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 01:15.


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