/************************************************************************** * Who, what, why, where, when, how? * * WHO? Joe "Caveman" Noyes and SR71Goku * * WHAT? plugin_cavey_callvote.sma version 0.20 * * WHY? Another request, this plugin allows users to "callvote" on ANY * * server variable. There is a variable on compiling that is * * ACCESS_UNRESTRICT and what this does is define the admin level * * that is allowed to call a vote on some restricted commands. * * WHERE? Errrr.. * * Cavey - http://gosh.ex.ac.uk/~py99jan/ * * Goku - http://sr71goku.cjb.net * * WHEN? This was last saved 19:49 19/06/2002 * * HOW? To install this, compile the script and place it in the dlls * * directory in CStrike. Then add the plugin to your plugins.ini * * Help! ICQ me on 70710878 with any bugs and issues. I will NOT help * * compiling or installing this plugin beyond this text file as it * * is all included on * * - www.adminmod.org * * or in this file. Enjoy ;) * * * * Caveman * * * **************************************************************************/ //////////////////////////// Changelog \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 19:49 19/06/2002 - Version 0.20 Now supports AM 2.51. 13:44 23/02/2002 - Version 0.18 Blocked startmovie too..... 17:59 07/02/2002 - Version 0.17 Cavey edits restricted commands using Goku's template. Adds the ability to define an admin level that can call votes on restricted commands. Also makes its o that if someone tries to call a vote on the server to make it quit, he quits. Seems fair... 05:07 07/02/2002 - Version 0.15b Extra restricted commands added by SR71Goku. 13:57 06/02/2002 - Version 0.15 First working version with restricted access to all rcon related commands. //////////////////////////// Quick tutorial \\\\\\\\\\\\\\\\\\\\\\\\\\\\ Installation Win32 1) Place the uncompiled .sma in ../halflife/admin/scripting/myscripts. 2) Edit the .sma to include the commands you wish to monitor. I have included lines for admin_teleport, admin_userorigin and admin_stack, so just copy the lines and replace the commands. Then save the file to disk. At the top is a "#define DAILY_LOGS 0". If it is set to 0, the log will be kept in ONE file. If it is set to 1, it will create a new file every day with the name "Date-Month.log" in your Logs Directory. 3) Doubleclick the compile_all.bat 4) Find the ../halflife/admin/scripting/mybinaries directory and copy the .amx files. 5) Paste the .amx files into the ../halflife/{moddir}/addons/adminmod/scripts directory. 6) Add the names of the plugins to the plguin.ini in the {moddir}, ie for plugin_cavey_page.amx add "addons/adminmod/plugin_cavey_page.amx" to the TOP of the file. It does not really matter if you do this time, but it is probably for the best..... And I dont use linux, so no idea how to compile it on there, sorry :(