View Single Post
Plugin Info:     Modification:          Category:          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 - 3607 views - 4.4 KB)
__________________

Last edited by DA; 04-12-2008 at 10:14.
DA is offline