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

Ultimate Players/Frags/Death Executer


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management        Approver:   Hawk552 (427)
DA
Veteran Member
Join Date: Nov 2005
Location: Germany/Münster
Old 04-12-2008 , 08:30   Ultimate Players/Frags/Death Executer
Reply With Quote #1

Ultimate Executer V1.0


Made by DA
Date: 12.04.2008


Description
This plugin allows you to start commands by special requests.
So if you want to start a command when for example 15 players are on the server
or the best player have 5 kills or the lowest player have 6 deaths
then you can do it with this plugin. ;)


Installation
1. Download the ultimate_executer.sma and compile it on your local machine.
2. Put the ultimate_executer.amxx in your plugins folder.
3. Add at the end from the plugins.ini this line: ultimate_executer.amxx
4. Open your amxx.cfg (mod/addons/amxmodx/configs/) and add your cvars at the end.
5. Restart or change the map from your server.


CVAR's
pfd_players <maxplayers> "startcommand" "endcommand"
  1. <Maxplayers>: Numbers of players where the command start
  2. "startcommand": The start command
  3. "endcommand": If the Numbers of players are lower as <maxplayers> then start this command

pfd_frags <maxfrags> "command"
  1. <maxfrags>: Numbers of frags where the command start
  2. "command": The command which should be start

pfd_death <maxdeath> "command"
  1. <maxdeath>: Numbers of death where the command start
  2. "command": The command which should be start

To Do
Nothing. If you have more ideas to add then feel free to
pm me.

Credits
JustinHoMi - For some code

Tested on local machine. I don't know if this run with other mods else cstrike.
Attached Files
File Type: sma Get Plugin or Get Source (ultimate_executer.sma - 3614 views - 4.4 KB)
__________________

Last edited by DA; 04-12-2008 at 10:14.
DA is offline
atomen
Veteran Member
Join Date: Oct 2006
Location: Stockholm, Sweden
Old 04-12-2008 , 09:37   Re: Ultimate Players/Frags/Death Executer
Reply With Quote #2

It's pretty hard to download it =/
Other than that, great plugin !
__________________
atomen is offline
Send a message via MSN to atomen
DA
Veteran Member
Join Date: Nov 2005
Location: Germany/Münster
Old 04-12-2008 , 10:14   Re: Ultimate Players/Frags/Death Executer
Reply With Quote #3

Rofl. Thanks. Need sleep ;)
__________________
DA is offline
=NcB=preswylde
Junior Member
Join Date: Jan 2009
Old 01-11-2009 , 09:03   Re: Ultimate Players/Frags/Death Executer
Reply With Quote #4

OK... basically I take it that the "command" part of the plugin for all THREE cvars does the exact same function which I am assuming is just a server command/console command, right?

What I would be interested in seeing is if there was a way you could extend this plugin a bit to do this:

On the cvars pfd_frags <maxfrags> "command" and pfd_frags <maxfrags> "command", that the command issued could be either the standard console command OR a command that would only be sent to that one player's client.... that way you could use it in conjunction with some player specific plugins/functions, like amx_glow, amx_rocket, timebomb, amx_weapon, etc....

Another idea would be for the maxplayers one to be capable of selecting a random living player on either team to be the target of the command or function.... can this be done?

Other than that... this seems like a pretty useful plugin... my clan has 12 servers, each with all different types of gameplay mods for Condition Zero... this will probably come in handy on one or more of them.
=NcB=preswylde is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 01-11-2009 , 13:54   Re: Ultimate Players/Frags/Death Executer
Reply With Quote #5

so... what this does?..
Owyn is offline
Send a message via ICQ to Owyn
mozart123
Member
Join Date: Nov 2008
Old 01-11-2009 , 14:27   Re: Ultimate Players/Frags/Death Executer
Reply With Quote #6

can i change amx_hpk 150 3 5 1 ? with this ?
__________________

mozart123 is offline
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 04:18.


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