AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Most Valuable Player (MVP) (1.0.3 - 22.03.2014) (https://forums.alliedmods.net/showthread.php?t=237079)

Kia 03-17-2014 12:36

Most Valuable Player (MVP) (1.0.3 - 22.03.2014)
 
1 Attachment(s)
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

http://puu.sh/7yVfx.jpg
http://puu.sh/7yVeX.jpg
http://puu.sh/7yVg3.jpg

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.

Jhob94 03-17-2014 12:39

Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
 
Hum it should be only for bomb explosion, not planted.

Kia 03-17-2014 12:42

Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
 
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)



5aloOod 03-17-2014 12:54

Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
 
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)

Kia 03-17-2014 13:01

Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
 
Quote:

Originally Posted by 5aloOod (Post 2112684)
nice plugin, like Cs:GO mvp

Thanks, other CS:GO Plugins will follow soon.

Quote:

Originally Posted by 5aloOod (Post 2112684)
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.
http://puu.sh/7yXmV.png

AspireAut 03-17-2014 13:30

Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
 
How i Installed this?...

I'm a total Noob, please a little Tutorial for me... :fox:

Kia 03-17-2014 13:44

Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
 
Quote:

Originally Posted by AspireAut (Post 2112699)
How i Installed this?...

I'm a total Noob, please a little Tutorial for me... :fox:

http://www.amxmodx.org/doc/index.htm...ns.htm#install

Jhob94 03-17-2014 14:53

Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
 
Quote:

Originally Posted by Kia (Post 2112676)
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? :3

Kia 03-17-2014 14:55

Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
 
Why?

claudiuhks 03-17-2014 19:23

Re: Most Valuable Player (MVP) (1.0.0 - 17.03.2014)
 
What about get_map_objectives native?

PHP Code:

public Event_DeathMsg()
    
g_iEnemiesKilled[read_data(1)]++ 

This seems not stable, in my opinion.


All times are GMT -4. The time now is 09:36.

Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.